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

ls: If we have --dired --hyperlink, we don't show dired but we still want to see the

long format

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
This commit is contained in:
Sylvestre Ledru 2024-06-23 22:01:32 +02:00
parent 4d705621e6
commit ececddd672
3 changed files with 14 additions and 2 deletions

View file

@ -3956,6 +3956,8 @@ fn test_ls_dired_hyperlink() {
.arg("-R")
.succeeds()
.stdout_contains("file://")
.stdout_contains("-rw") // we should have the long output
// even if dired isn't actually run
.stdout_does_not_contain("//DIRED//");
// dired is passed after hyperlink
// so we will have DIRED output