mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
test-fs-util: don't validate mode of symlinks
Some file systems refuse changing the mode, and the mode has zero effect anyway, hence let's no test for this.
This commit is contained in:
parent
1802d5f2cf
commit
f63383a31f
@ -636,7 +636,6 @@ static void test_touch_file(void) {
|
||||
assert_se(st.st_uid == test_uid);
|
||||
assert_se(st.st_gid == test_gid);
|
||||
assert_se(S_ISLNK(st.st_mode));
|
||||
assert_se((st.st_mode & 0777) == 0640);
|
||||
assert_se(timespec_load(&st.st_mtim) == test_mtime);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user