summaryrefslogtreecommitdiff
path: root/tests/utils.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-10 18:12:51 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-10 18:12:51 +0100
commit8f8112edd0df5c7f6d131e31ae28d324f8320bfe (patch)
treec41bfda34a2e9f7b4f032e69e97fdc9931b56f18 /tests/utils.c
parent29186ea6c4c76e4a38836a45b7a8231d768c932f (diff)
downloadgnutls-8f8112edd0df5c7f6d131e31ae28d324f8320bfe.tar.gz
always exit when fail is called.
Diffstat (limited to 'tests/utils.c')
-rw-r--r--tests/utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/utils.c b/tests/utils.c
index e77541bcf5..b61321d39a 100644
--- a/tests/utils.c
+++ b/tests/utils.c
@@ -51,8 +51,7 @@ void fail(const char *format, ...)
va_end(arg_ptr);
fputs(str, stderr);
error_count++;
- if (break_on_error)
- exit(1);
+ exit(1);
}
void success(const char *format, ...)