From bdf7026e9557349cd3eeb291c01655d5f2a55db8 Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Sat, 4 Oct 2014 23:51:45 +0200 Subject: test: only use assert_se The asserts used in the tests should never be allowed to be optimized away --- src/test/test-install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/test-install.c') diff --git a/src/test/test-install.c b/src/test/test-install.c index b0f77a18f..467970b00 100644 --- a/src/test/test-install.c +++ b/src/test/test-install.c @@ -31,7 +31,7 @@ static void dump_changes(UnitFileChange *c, unsigned n) { unsigned i; - assert(n == 0 || c); + assert_se(n == 0 || c); for (i = 0; i < n; i++) { if (c[i].type == UNIT_FILE_UNLINK) -- cgit v1.2.3