Skip to content

Commit 0cbbf30

Browse files
committed
Add another test for hardlinks to symlinks.
1 parent aecda39 commit 0cbbf30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/fs_additional.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,4 +416,5 @@ fn symlink_hard_link() {
416416
let _ = check!(tmpdir.open("hard_link"));
417417
check!(tmpdir.rename("file", &tmpdir, "file.renamed"));
418418
assert!(tmpdir.open("hard_link").is_err());
419+
assert_eq!(check!(tmpdir.read_link("hard_link")), Path::new("file"));
419420
}

0 commit comments

Comments
 (0)