1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37: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:
Anup Mahindre 2021-06-20 16:58:28 +05:30
parent 3b641afadc
commit ffb6b7152f

View file

@ -2044,5 +2044,5 @@ fn test_ls_dangling_symlinks() {
.arg("-Li") .arg("-Li")
.arg("temp_dir") .arg("temp_dir")
.succeeds() // this should fail, though at the moment, ls lacks a way to propagate errors encountered during display .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" });
} }