chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/ tests now use Automake's test infrastructure, and are split into
[disorder]
/
lib
/
t-wstat.c
diff --git
a/lib/t-wstat.c
b/lib/t-wstat.c
index 0d87472416bb00784f4e52671fea296cba8e487c..a6746cda42831f43a8072092a8e6a87ad83b979d 100644
(file)
--- a/
lib/t-wstat.c
+++ b/
lib/t-wstat.c
@@
-19,11
+19,10
@@
*/
#include "test.h"
*/
#include "test.h"
-void test_wstat(void) {
+
static
void test_wstat(void) {
pid_t pid;
int w;
pid_t pid;
int w;
- fprintf(stderr, "test_wstat\n");
if(!(pid = xfork())) {
_exit(1);
}
if(!(pid = xfork())) {
_exit(1);
}
@@
-39,6
+38,8
@@
void test_wstat(void) {
check_string_prefix(wstat(w), "terminated by signal 15");
}
check_string_prefix(wstat(w), "terminated by signal 15");
}
+TEST(wstat);
+
/*
Local Variables:
c-basic-offset:2
/*
Local Variables:
c-basic-offset:2