mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
Ignore if we can't create a symlink in this test
This commit is contained in:
+1
-1
@@ -1881,7 +1881,7 @@ fn recursive_rmdir() {
|
||||
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());
|
||||
|
||||
Reference in New Issue
Block a user