mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
ls: enable "args override self"
This commit is contained in:
parent
6711dd5694
commit
42558344f1
2 changed files with 16 additions and 0 deletions
|
@ -3924,6 +3924,21 @@ fn test_ls_block_size_override() {
|
|||
.stdout_contains_line("total 8");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ls_block_size_override_self() {
|
||||
new_ucmd!()
|
||||
.arg("--block-size=512")
|
||||
.arg("--block-size=512")
|
||||
.succeeds();
|
||||
|
||||
new_ucmd!()
|
||||
.arg("--human-readable")
|
||||
.arg("--human-readable")
|
||||
.succeeds();
|
||||
|
||||
new_ucmd!().arg("--si").arg("--si").succeeds();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ls_hyperlink() {
|
||||
let scene = TestScenario::new(util_name!());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue