mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 14:52:41 +00:00
20 lines
420 B
Rust
20 lines
420 B
Rust
// spell-checker:ignore parenb parmrk ixany iuclc onlcr ofdel icanon noflsh
|
|
|
|
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);
|
|
}
|
|
}
|