mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-28 11:55:23 +03:00
Merge pull request #2074 from keszybz/test-acl-util-fix
test-acl-util: fix two issues from review
This commit is contained in:
commit
c0f1f52317
@ -41,7 +41,7 @@ static void test_add_acls_for_user(void) {
|
||||
assert_se(fd >= 0);
|
||||
|
||||
/* Use the mode that user journal files use */
|
||||
assert(fchmod(fd, 0640) == 0);
|
||||
assert_se(fchmod(fd, 0640) == 0);
|
||||
|
||||
cmd = strjoina("ls -l ", fn);
|
||||
assert_se(system(cmd) == 0);
|
||||
@ -82,4 +82,6 @@ static void test_add_acls_for_user(void) {
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
test_add_acls_for_user();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user