coreutils/tests/by-util/test_stty.rs

19 lines
343 B
Rust
Raw Normal View History

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