don't use errx() since that require libroken
This commit is contained in:
@@ -127,9 +127,10 @@ test_string(void)
|
|||||||
s1 = heim_string_create(string);
|
s1 = heim_string_create(string);
|
||||||
s2 = heim_string_create(string);
|
s2 = heim_string_create(string);
|
||||||
|
|
||||||
if (heim_cmp(s1, s2) != 0)
|
if (heim_cmp(s1, s2) != 0) {
|
||||||
errx(1, "the same string is not the same");
|
printf("the same string is not the same\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
heim_release(s1);
|
heim_release(s1);
|
||||||
heim_release(s2);
|
heim_release(s2);
|
||||||
|
Reference in New Issue
Block a user