mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
tests: Fix ls dangling symbolic links test output for windows
On windows we do not print inode numbers at all, so skip checking for ? for dangling symbolic links in expected output
This commit is contained in:
parent
3b641afadc
commit
ffb6b7152f
1 changed files with 1 additions and 1 deletions
|
@ -2044,5 +2044,5 @@ fn test_ls_dangling_symlinks() {
|
|||
.arg("-Li")
|
||||
.arg("temp_dir")
|
||||
.succeeds() // this should fail, though at the moment, ls lacks a way to propagate errors encountered during display
|
||||
.stdout_contains("? dangle");
|
||||
.stdout_contains(if cfg!(windows) { "dangle" } else { "? dangle" });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue