Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net> --- src/tests/sigbus-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tests/sigbus-test.c b/src/tests/sigbus-test.c index c48df8a..6acac04 100644 --- a/src/tests/sigbus-test.c +++ b/src/tests/sigbus-test.c @@ -54,6 +54,7 @@ START_TEST (sigbus_test) { /* Verify memory map */ pa_log("Let's see if this worked: %s", (char*) p); pa_log("And memtrap says it is good: %s", pa_yes_no(pa_memtrap_is_good(m))); + fail_unless(pa_memtrap_is_good(m) == true); /* Invalidate mapping */ fail_unless(ftruncate(fd, 0) >= 0); @@ -64,6 +65,7 @@ START_TEST (sigbus_test) { /* Verify memory map */ pa_log("Let's see if this worked: %s", (char*) p); pa_log("And memtrap says it is good: %s", pa_yes_no(pa_memtrap_is_good(m))); + fail_unless(pa_memtrap_is_good(m) == false); pa_memtrap_remove(m); munmap(p, PA_PAGE_SIZE); -- 1.9.1