mirror of
https://github.com/systemd/systemd
synced 2024-07-22 10:44:58 +00:00
test: use FLAGS_SET() in one more place
This commit is contained in:
parent
cd1c510f0c
commit
dd1b1dae7e
|
@ -82,7 +82,7 @@ TEST(fd_acl_make_read_only) {
|
|||
(void) fd_add_uid_acl_permission(fd, 1, ACL_READ|ACL_WRITE|ACL_EXECUTE);
|
||||
|
||||
assert_se(fstat(fd, &st) >= 0);
|
||||
assert_se((st.st_mode & 0200) == 0200);
|
||||
assert_se(FLAGS_SET(st.st_mode, 0200));
|
||||
|
||||
cmd = strjoina("getfacl -p ", fn);
|
||||
assert_se(system(cmd) == 0);
|
||||
|
|
Loading…
Reference in a new issue