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:
parent
5e7d58650d
commit
2a0d58d060
47 changed files with 244 additions and 165 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue