We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d64bc97 commit 0bf3631Copy full SHA for 0bf3631
src/lib.rs
@@ -931,21 +931,18 @@ mod tests {
931
let d = openat::Dir::open(td.path()).unwrap();
932
d.ensure_dir("foo", 0o777).unwrap();
933
d.set_mode("foo", 0o750).unwrap();
934
- d.syncfs().unwrap();
935
assert_eq!(
936
d.metadata("foo").unwrap().stat().st_mode & !libc::S_IFMT,
937
0o750
938
);
939
d.set_mode("foo", 0o700).unwrap();
940
941
942
943
0o700
944
945
946
d.symlink("bar", "foo").unwrap();
947
d.set_mode("bar", 0o000).unwrap();
948
949
assert_ne!(
950
d.metadata("bar").unwrap().stat().st_mode & !libc::S_IFMT,
951
0o000
0 commit comments