mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 06:42:42 +00:00
19 lines
343 B
Rust
19 lines
343 B
Rust
|
use crate::common::util::*;
|
||
|
|
||
|
#[test]
|
||
|
fn runs() {
|
||
|
new_ucmd!().succeeds();
|
||
|
}
|
||
|
|
||
|
#[test]
|
||
|
fn print_all() {
|
||
|
let res = new_ucmd!().succeeds();
|
||
|
|
||
|
// Random selection of flags to check for
|
||
|
for flag in [
|
||
|
"parenb", "parmrk", "ixany", "iuclc", "onlcr", "ofdel", "icanon", "noflsh",
|
||
|
] {
|
||
|
res.stdout_contains(flag);
|
||
|
}
|
||
|
}
|