mirror of
https://github.com/uutils/coreutils.git
synced 2025-12-23 08:47:37 +00:00
du: add a test to cover a part of tests/du/threshold
This commit is contained in:
parent
f2c55b6864
commit
2d0985d7fa
1 changed files with 9 additions and 0 deletions
|
|
@ -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: ]"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue