summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx04
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-27 16:38:08 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-27 16:38:08 +0000
commitbdbf052ab3dc24b048d4824cf2544b1c6f078811 (patch)
tree9dd25504d4c63747a76eb61fe93f069c9d96afb1 /testsuites/psxtests/psx04
parent2010-07-27 Vinu Rajashekhar <vinutheraj@gmail.com> (diff)
downloadrtems-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.c3
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 );