mirror of
https://github.com/uutils/coreutils
synced 2024-11-16 09:48:03 +00:00
Fix Windows test(?): inode request shouldn't error on Windows, b/c there are no inodes
This commit is contained in:
parent
01585a57f6
commit
13d6d74fa3
1 changed files with 10 additions and 1 deletions
|
@ -2367,13 +2367,22 @@ fn test_ls_dangling_symlinks() {
|
|||
.succeeds()
|
||||
.stdout_contains("dangle");
|
||||
|
||||
#[cfg(not(windows))]
|
||||
scene
|
||||
.ucmd()
|
||||
.arg("-Li")
|
||||
.arg("temp_dir")
|
||||
.fails()
|
||||
.stderr_contains("cannot access")
|
||||
.stdout_contains(if cfg!(windows) { "dangle" } else { "? dangle" });
|
||||
.stdout_contains("? dangle");
|
||||
|
||||
#[cfg(windows)]
|
||||
scene
|
||||
.ucmd()
|
||||
.arg("-Li")
|
||||
.arg("temp_dir")
|
||||
.succeeds()
|
||||
.stdout_contains("dangle");
|
||||
|
||||
scene
|
||||
.ucmd()
|
||||
|
|
Loading…
Reference in a new issue