diff --git a/tests/pthread_cleanup/main.c b/tests/pthread_cleanup/main.c index a6ec193896..516c136d88 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; }