1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +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:
Lennart Poettering 2019-04-30 19:32:31 +02:00
parent 1802d5f2cf
commit f63383a31f

View File

@ -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);
}