mirror of
https://github.com/uutils/coreutils
synced 2024-12-18 17:14:42 +00:00
18 lines
313 B
Rust
18 lines
313 B
Rust
|
use common::util::*;
|
||
|
|
||
|
#[test]
|
||
|
fn test_uname_compatible() {
|
||
|
let (_, mut ucmd) = at_and_ucmd!();
|
||
|
|
||
|
let result = ucmd.arg("-a").run();
|
||
|
assert!(result.success);
|
||
|
}
|
||
|
|
||
|
#[test]
|
||
|
fn test_uname_name() {
|
||
|
let (_, mut ucmd) = at_and_ucmd!();
|
||
|
|
||
|
let result = ucmd.arg("-n").run();
|
||
|
assert!(result.success);
|
||
|
}
|