1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

add some simple tests to stty (still failing)

This commit is contained in:
Terts Diepraam 2022-06-25 22:37:28 +02:00 committed by Sylvestre Ledru
parent 600cab0bd8
commit a23702caeb

View file

@ -0,0 +1,18 @@
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);
}
}