mirror of
https://github.com/uutils/coreutils
synced 2024-12-24 20:13:17 +00:00
18 lines
359 B
Rust
18 lines
359 B
Rust
use crate::common::util::*;
|
|
|
|
#[test]
|
|
fn test_arch() {
|
|
let (_, mut ucmd) = at_and_ucmd!();
|
|
|
|
let result = ucmd.run();
|
|
assert!(result.success);
|
|
}
|
|
|
|
#[test]
|
|
fn test_arch_help() {
|
|
let (_, mut ucmd) = at_and_ucmd!();
|
|
|
|
let result = ucmd.arg("--help").run();
|
|
assert!(result.success);
|
|
assert!(result.stdout.contains("architecture name"));
|
|
}
|