diff options
| author | Paul Dicker <pitdicker@gmail.com> | 2016-02-07 21:10:29 +0100 |
|---|---|---|
| committer | Paul Dicker <pitdicker@gmail.com> | 2016-02-07 21:10:29 +0100 |
| commit | d1bfe9bccf8a1632ffb8d29ee97be137a0e71045 (patch) | |
| tree | 33bb9461888b679f34d8335316331b8ba1c97d41 /src/libstd | |
| parent | d47036cbd1e181da6eca7f4f125e092bedeb35e0 (diff) | |
| download | rust-d1bfe9bccf8a1632ffb8d29ee97be137a0e71045.tar.gz rust-d1bfe9bccf8a1632ffb8d29ee97be137a0e71045.zip | |
Ignore if we can't create a symlink in this test
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index e7707d29f7f..eb2c6276fb5 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -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()); |
