From 41b4f78b9bc8e332bc2b5f14f459c18a4aef6b16 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 22 Sep 2023 15:15:11 +0100 Subject: [PATCH] Make test_conf return failure status on failure! Ahem. Of course I've been running it interactively until now, so I never noticed that I'd forgotten to fill in that important point. But now it's run as part of my build, it should make sure to fail if it fails. --- test/test_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_conf.c b/test/test_conf.c index 82362ebd..55a455cf 100644 --- a/test/test_conf.c +++ b/test/test_conf.c @@ -769,5 +769,5 @@ void test_simple(void) int main(void) { test_simple(); - return 0; + return nfails != 0; }