diff options
author | Tom Gundersen <teg@jklm.no> | 2015-12-01 00:25:47 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-12-01 00:25:47 +0100 |
commit | c0f1f52317e6128f44b235aa6edf86ddf2043aaf (patch) | |
tree | 9da74eb876c04dba9d42d3e0dd0eaa021c412992 /src/test | |
parent | 9b86cda0a909b15f51ca46d12a0176c66f11171c (diff) | |
parent | d879fca6bcc391ec69a900affaafaaa51e02e5c5 (diff) |
Merge pull request #2074 from keszybz/test-acl-util-fix
test-acl-util: fix two issues from review
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-acl-util.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test-acl-util.c b/src/test/test-acl-util.c index bdea04d7f0..91866daf2d 100644 --- a/src/test/test-acl-util.c +++ b/src/test/test-acl-util.c @@ -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; } |