diff --git a/tests/unit/unit2604.c b/tests/unit/unit2604.c index e8a9d76a33..9111edafb8 100644 --- a/tests/unit/unit2604.c +++ b/tests/unit/unit2604.c @@ -76,7 +76,7 @@ static CURLcode test_unit2604(const char *arg) #endif char *cp0 = calloc(1, too_long + 1); - abort_unless(cp0, "could not alloc too long value"); + fail_unless(cp0, "could not alloc too long value"); memset(cp0, 'a', too_long); for(i = 0; list[i].home; i++) {