mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
ls --dired: v9.5 automatically set --format=long
This commit is contained in:
parent
32c5d23f91
commit
da11981026
2 changed files with 8 additions and 11 deletions
|
@ -3929,15 +3929,16 @@ fn test_ls_perm_io_errors() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn test_ls_dired_incompatible() {
|
||||
fn test_ls_dired_implies_long() {
|
||||
let scene = TestScenario::new(util_name!());
|
||||
|
||||
scene
|
||||
.ucmd()
|
||||
.arg("--dired")
|
||||
.fails()
|
||||
.code_is(1)
|
||||
.stderr_contains("--dired requires --format=long");
|
||||
.succeeds()
|
||||
.stdout_does_not_contain("//DIRED//")
|
||||
.stdout_contains(" total 0")
|
||||
.stdout_contains("//DIRED-OPTIONS// --quoting-style");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue