summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-acl-util.c4
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;
}