summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-06-27 18:37:25 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-06-27 18:37:25 +0200
commitc077f98590689d6325916b3a6add67e8810984b3 (patch)
tree4e652304534d2753660bfbf74aee3d05d1373b2a /tests
parent2032ac294dc8721e3084162b585b1ead7ea40cc0 (diff)
downloadgnutls-c077f98590689d6325916b3a6add67e8810984b3.tar.gz
Fail on error.
Diffstat (limited to 'tests')
-rw-r--r--tests/chainverify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/chainverify.c b/tests/chainverify.c
index 1ddc20937a..71b4e2293e 100644
--- a/tests/chainverify.c
+++ b/tests/chainverify.c
@@ -851,7 +851,7 @@ doit (void)
fail ("verify_status: %d expected: %d\n",
verify_status, chains[i].expected_verify_result);
- if (debug)
+ if (!debug)
exit (1);
}
else if (debug)