summaryrefslogtreecommitdiffstats
path: root/base/test_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'base/test_base.c')
-rw-r--r--base/test_base.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/base/test_base.c b/base/test_base.c
index 5355907..320512b 100644
--- a/base/test_base.c
+++ b/base/test_base.c
@@ -127,9 +127,10 @@ test_string(void)
s1 = heim_string_create(string);
s2 = heim_string_create(string);
- if (heim_cmp(s1, s2) != 0)
- errx(1, "the same string is not the same");
-
+ if (heim_cmp(s1, s2) != 0) {
+ printf("the same string is not the same\n");
+ exit(1);
+ }
heim_release(s1);
heim_release(s2);
OpenPOWER on IntegriCloud