diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-sigbus.c | 2 | ||||
-rw-r--r-- | src/test/test-util.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test-sigbus.c b/src/test/test-sigbus.c index 39d0fec894..f5bae65bef 100644 --- a/src/test/test-sigbus.c +++ b/src/test/test-sigbus.c @@ -32,7 +32,7 @@ int main(int argc, char *argv[]) { sigbus_install(); - assert(sigbus_pop(&addr) == 0); + assert_se(sigbus_pop(&addr) == 0); assert_se((fd = mkostemp(template, O_RDWR|O_CREAT|O_EXCL)) >= 0); assert_se(unlink(template) >= 0); diff --git a/src/test/test-util.c b/src/test/test-util.c index a37316b9cb..f2b7038a4d 100644 --- a/src/test/test-util.c +++ b/src/test/test-util.c @@ -1254,11 +1254,11 @@ static void test_execute_directory(void) { execute_directories(dirs, DEFAULT_TIMEOUT_USEC, NULL); - assert(chdir(template_lo) == 0); + assert_se(chdir(template_lo) == 0); assert_se(access("it_works", F_OK) >= 0); assert_se(access("failed", F_OK) < 0); - assert(chdir(template_hi) == 0); + assert_se(chdir(template_hi) == 0); assert_se(access("it_works2", F_OK) >= 0); assert_se(access("failed", F_OK) < 0); |