From bdbf052ab3dc24b048d4824cf2544b1c6f078811 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 27 Jul 2010 16:38:08 +0000 Subject: 2010-07-27 Vinu Rajashekhar PR 1629/cpukit * psx04/init.c: sigsuspend() was not completely following the POSIX specification. --- testsuites/psxtests/psx04/init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testsuites/psxtests/psx04') 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 ); -- cgit v1.2.3