projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fsusage: port to MacOS X 10.7 with 4 TiB file systems
[gnulib.git]
/
tests
/
test-sigprocmask.c
diff --git
a/tests/test-sigprocmask.c
b/tests/test-sigprocmask.c
index
973c5d8
..
8b0657e
100644
(file)
--- a/
tests/test-sigprocmask.c
+++ b/
tests/test-sigprocmask.c
@@
-28,7
+28,6
@@
SIGNATURE_CHECK (sigprocmask, int, (int, const sigset_t *, sigset_t *));
#include <stdlib.h>
#include <unistd.h>
#include <stdlib.h>
#include <unistd.h>
-#include "ignore-value.h"
#include "macros.h"
#if !((defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__)
#include "macros.h"
#if !((defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__)
@@
-62,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);
/* Request a SIGINT signal from outside. */
sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, pid);
-
ignore_value (system (command)
);
+
ASSERT (system (command) == 0
);
/* Wait. */
sleep (2);
/* Wait. */
sleep (2);