mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
du: add a test to cover a part of tests/du/threshold
This commit is contained in:
@@ -1430,3 +1430,12 @@ fn test_du_inodes_total_text() {
|
||||
|
||||
assert!(parts[0].parse::<u64>().is_ok());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_du_threshold_no_suggested_values() {
|
||||
// tested by tests/du/threshold
|
||||
let ts = TestScenario::new(util_name!());
|
||||
|
||||
let result = ts.ucmd().arg("--threshold").fails();
|
||||
assert!(!result.stderr_str().contains("[possible values: ]"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user