test-compress: make sure asserts with side effects use assert_se()

System Internals / systemd - Filipe Brandenburger [google.com] - 26 August 2014 13:31 UTC

Otherwise the test fails when built with CPPFLAGS='-DNDEBUG' which disables assertions.

Tested:- make check TESTS='test-compress' CPPFLAGS='-DNDEBUG'

5275472 test-compress: make sure asserts with side effects use assert_se()
src/journal/test-compress.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Upstream: github.com


  • Share