File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
conformance/interfaces/pthread_cond_wait Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -350,7 +350,10 @@ int main(int argc, char * argv[])
350
350
/** Join the thread */
351
351
ret = pthread_join (th , & rc );
352
352
if (ret != 0 ) { UNRESOLVED (ret , "Unable to join the thread" ); }
353
- if (rc != PTHREAD_CANCELED ) { FAILED ("thread was not canceled" ); }
353
+ if (rc != PTHREAD_CANCELED ) {
354
+ output ("thread was not canceled, return code was %d!=%d" , rc , PTHREAD_CANCELED );
355
+ FAILED ("thread was not canceled" );
356
+ }
354
357
355
358
#if VERBOSE > 1
356
359
output ("Test passed for %s\n\n" , scenar [i ].descr );
@@ -376,6 +379,7 @@ int main(int argc, char * argv[])
376
379
ret = sem_destroy (& (data .semB ));
377
380
if (ret != 0 ) { UNRESOLVED (errno , "Sem destroy failed" ); }
378
381
382
+ printf ("Test PASS\n" );
379
383
PASSED ;
380
384
}
381
385
You can’t perform that action at this time.
0 commit comments