chiark / gitweb /
test-path-util: use assert_se in all assertions
authorFilipe Brandenburger <filbranden@google.com>
Tue, 26 Aug 2014 05:05:03 +0000 (22:05 -0700)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Aug 2014 18:31:31 +0000 (20:31 +0200)
commit8d95631ea6c039a60bb7ac456f687a8fdf0c4381
treeb9ac458661c31a87bebb510c59af10deddae7092
parent52754725e185f1331f821d85ed2ef78fb92af1fe
test-path-util: use assert_se in all assertions

Otherwise they get optimized out when CPPFLAGS='-DNDEBUG' is used, and that
causes the tests to fail.

Tested:
- make check TESTS='test-path-util' CPPFLAGS='-DNDEBUG'
src/test/test-path-util.c