diff --git a/tests/pthread_cleanup/main.c b/tests/pthread_cleanup/main.c index a6ec1938967ea4ce538f59b76bf8f6592ba5e3ef..516c136d881140e4dc1bc64e611aace9bef0efcc 100644 --- a/tests/pthread_cleanup/main.c +++ b/tests/pthread_cleanup/main.c @@ -60,7 +60,7 @@ static void *run(void *unused) { } int main(void) { - puts("Start."); + puts("START"); pthread_t th_id; pthread_create(&th_id, NULL, run, NULL); @@ -69,6 +69,12 @@ int main(void) { pthread_join(th_id, (void **) &res); printf("Result: %i\n", (int) (intptr_t) res); - puts("Done."); + + if (res == RET_EXIT) { + puts("SUCCESS"); + } + else { + puts("FAILURE"); + } return 0; }