* tst-robust9.c (do_test): Don't fail if ENABLE_PI and

pthread_mutex_init failed with ENOTSUP.
2007-05-21  Jakub Jelinek  <jakub@redhat.com>

	* tst-robust9.c (do_test): Don't fail if ENABLE_PI and
	pthread_mutex_init failed with ENOTSUP.
This commit is contained in:
Jakub Jelinek 2007-05-21 22:12:40 +00:00
parent e2b1e34312
commit 2c9718f3b3
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-05-21 Jakub Jelinek <jakub@redhat.com>
* tst-robust9.c (do_test): Don't fail if ENABLE_PI and
pthread_mutex_init failed with ENOTSUP.
2007-05-19 Ulrich Drepper <drepper@redhat.com>
* allocatestack.c (__wait_lookup_done): New function.

View File

@ -54,6 +54,13 @@ do_test (void)
}
#endif
err = pthread_mutex_init (&m, &ma);
#ifdef ENABLE_PI
if (err == ENOTSUP)
{
puts ("PI robust mutexes not supported");
return 0;
}
#endif
if (err)
{
puts ("pthread_mutex_init");