2
0
Fork 0
mirror of https://github.com/uutils/coreutils synced 2024-12-28 22:13:17 +00:00
coreutils/tests/by-util/test_arch.rs
2020-06-01 18:30:04 -05:00

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"));
}