2
0
Fork 0
mirror of https://github.com/uutils/coreutils synced 2024-12-26 13:03:14 +00:00
coreutils/tests/by-util/test_arch.rs

19 lines
359 B
Rust
Raw Normal View History

use crate::common::util::*;
2020-05-05 21:08:58 +00:00
#[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"));
}