We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 296faa8 + 9c65672 commit 74e5366Copy full SHA for 74e5366
library/std/src/fs/tests.rs
@@ -1962,6 +1962,10 @@ fn test_rename_directory_to_non_empty_directory() {
1962
#[test]
1963
fn test_rename_symlink() {
1964
let tmpdir = tmpdir();
1965
+ if !got_symlink_permission(&tmpdir) {
1966
+ return;
1967
+ };
1968
+
1969
let original = tmpdir.join("original");
1970
let dest = tmpdir.join("dest");
1971
let not_exist = Path::new("does not exist");
0 commit comments