NEWS.stable: log cherry-pick [a0d9972]->[21d1619] freopen: Don't crash if the filenam...
[gnulib.git] / tests / test-sigprocmask.c
index 628c1ab..8b0657e 100644 (file)
@@ -61,7 +61,7 @@ main (int argc, char *argv[])
 
   /* 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);