1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

get android builds to compile and pass tests

This commit is contained in:
Justin Tracey 2022-02-09 13:08:28 -05:00 committed by Sylvestre Ledru
parent 5e7d58650d
commit 2a0d58d060
47 changed files with 244 additions and 165 deletions

View file

@ -53,6 +53,11 @@ fn test_uname_kernel() {
#[test]
fn test_uname_operating_system() {
#[cfg(target_os = "android")]
new_ucmd!()
.arg("--operating-system")
.succeeds()
.stdout_is("Android\n");
#[cfg(target_vendor = "apple")]
new_ucmd!()
.arg("--operating-system")