/* Test of pthread_sigmask in a single-threaded program.
- Copyright (C) 2011 Free Software Foundation, Inc.
+ Copyright (C) 2011-2012 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
/* Request a SIGINT signal from outside. */
sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, pid);
- system (command);
+ ASSERT (system (command) == 0);
/* Wait. */
sleep (2);