diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-27 16:38:08 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-27 16:38:08 +0000 |
commit | bdbf052ab3dc24b048d4824cf2544b1c6f078811 (patch) | |
tree | 9dd25504d4c63747a76eb61fe93f069c9d96afb1 /testsuites/psxtests/psx04 | |
parent | 2010-07-27 Vinu Rajashekhar <vinutheraj@gmail.com> (diff) | |
download | rtems-bdbf052ab3dc24b048d4824cf2544b1c6f078811.tar.bz2 |
2010-07-27 Vinu Rajashekhar <vinutheraj@gmail.com>
PR 1629/cpukit
* psx04/init.c: sigsuspend() was not completely following the POSIX
specification.
Diffstat (limited to 'testsuites/psxtests/psx04')
-rw-r--r-- | testsuites/psxtests/psx04/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/psxtests/psx04/init.c b/testsuites/psxtests/psx04/init.c index e9311b9e16..76ef33bb4c 100644 --- a/testsuites/psxtests/psx04/init.c +++ b/testsuites/psxtests/psx04/init.c @@ -414,6 +414,9 @@ void *POSIX_Init( /* Suspend for signal that has already be sent */ + status = sigemptyset( &mask ); + rtems_test_assert( !status ); + puts( "Init: sigsuspend for any signal" ); status = sigsuspend( &mask ); rtems_test_assert( status ); |