projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new test framework (one main per test)
[libc-test]
/
src
/
stdio
/
popen.c
diff --git
a/src/stdio/popen.c
b/src/stdio/popen.c
index
f647bf4
..
f5cf05a
100644
(file)
--- a/
src/stdio/popen.c
+++ b/
src/stdio/popen.c
@@
-22,7
+22,8
@@
static void handler(int sig) {
got_sig = 1;
}
-void test_popen(void) {
+int main(void)
+{
int i;
char foo[6];
char cmd[64];
@@
-44,4
+45,5
@@
void test_popen(void) {
TEST(i, got_sig, 1, "child process did not send signal");
}
signal(SIGUSR1, SIG_DFL);
+ return test_status;
}