mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
test/uname ~ update tests for expected platform-v1.0.2 outputs
This commit is contained in:
parent
4eb5bc1d2f
commit
cfdbaca6c1
1 changed files with 5 additions and 4 deletions
|
@ -104,10 +104,11 @@ fn test_uname_operating_system() {
|
||||||
.succeeds()
|
.succeeds()
|
||||||
.stdout_is("Redox\n");
|
.stdout_is("Redox\n");
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
new_ucmd!()
|
{
|
||||||
.arg("--operating-system")
|
let result = new_ucmd!().arg("--operating-system").succeeds();
|
||||||
.succeeds()
|
println!("{:?}", result.stdout_str());
|
||||||
.stdout_is("Windows NT\n");
|
assert!(result.stdout_str().starts_with("MS/Windows"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue