diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2015-01-22 22:53:42 +0100 |
---|---|---|
committer | Ronny Chevalier <chevalier.ronny@gmail.com> | 2015-01-22 23:10:56 +0100 |
commit | 0c0cdb06c139b52ff103287f6909b3daa5b2dc54 (patch) | |
tree | f904cb032c43691d325b6bb19941a2c115a07416 /src/test/test-sigbus.c | |
parent | po: update french translation (diff) | |
download | systemd-0c0cdb06c139b52ff103287f6909b3daa5b2dc54.tar.xz systemd-0c0cdb06c139b52ff103287f6909b3daa5b2dc54.zip |
tests: use assert_se instead of assert
Otherwise they can be optimized away with -DNDEBUG
Diffstat (limited to 'src/test/test-sigbus.c')
-rw-r--r-- | src/test/test-sigbus.c | 2 |
1 files changed, 1 insertions, 1 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); |