projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* doc/gnulib-readme.texi (Portability guidelines): ctype.h, not ctime.h.
[gnulib.git]
/
tests
/
test-sigprocmask.c
diff --git
a/tests/test-sigprocmask.c
b/tests/test-sigprocmask.c
index
973c5d8
..
55d11b0
100644
(file)
--- a/
tests/test-sigprocmask.c
+++ b/
tests/test-sigprocmask.c
@@
-1,5
+1,5
@@
/* Test of sigprocmask.
/* Test of sigprocmask.
- 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
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
@@
-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);