From 039c5a05cc905e3d48392e7ea9f85e339b7c068b Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sat, 31 Dec 2016 12:20:49 +0100 Subject: support: Use support_record_failure consistently This causes more test programs to link in the support_record_failure function, which triggers an early call to mmap from an ELF constructor, but this should not have side effects intefering with the functionality actually under test (unlike, say, a call to malloc). --- support/support_test_verify_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/support_test_verify_impl.c') diff --git a/support/support_test_verify_impl.c b/support/support_test_verify_impl.c index 28b152407a..3b74e578ba 100644 --- a/support/support_test_verify_impl.c +++ b/support/support_test_verify_impl.c @@ -26,7 +26,7 @@ support_test_verify_impl (int status, const char *file, int line, const char *expr) { support_record_failure (); - printf ("FAIL %s:%d: not true: %s\n", file, line, expr); + printf ("error: %s:%d: not true: %s\n", file, line, expr); if (status >= 0) exit (status); -- cgit v1.2.1