Ignore if we can't create a symlink in this test
This commit is contained in:
parent
d47036cbd1
commit
d1bfe9bccf
@ -1881,7 +1881,7 @@ mod tests {
|
||||
check!(fs::create_dir_all(&d2));
|
||||
check!(check!(File::create(&canary)).write(b"foo"));
|
||||
check!(symlink_junction(&d2, &dt.join("d2")));
|
||||
check!(symlink_file(&canary, &d1.join("canary")));
|
||||
let _ = symlink_file(&canary, &d1.join("canary"));
|
||||
check!(fs::remove_dir_all(&d1));
|
||||
|
||||
assert!(!d1.is_dir());
|
||||
|
Loading…
x
Reference in New Issue
Block a user