summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-06-28 10:53:00 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-06-28 10:53:00 +0000
commit618779d80c15219b8d9504067f286b5ac1b9b194 (patch)
tree41e3b74b553d84db093c04d16fe28662c1d04f7f /contrib
parent1fbea1a160373147db6ef31f5d05d61e63296077 (diff)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/timeout_watchdog.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/timeout_watchdog.c b/contrib/timeout_watchdog.c
index dfeed6782..c8c339167 100644
--- a/contrib/timeout_watchdog.c
+++ b/contrib/timeout_watchdog.c
@@ -54,7 +54,6 @@ void sigchld_handler(int val)
void sigint_handler(int val)
{
- printf("Killing test process\n");
kill(0, val);
exit(1);
}
@@ -92,16 +91,13 @@ signal(SIGTERM, sigint_handler);
child = fork();
if (child==0)
{
- printf("Starting test process `%s'\n",argv[2],arguments);
setpgid(0,gpid);
execvp(argv[2],&argv[2]);
- printf("Test process `%s' could not be started\n",argv[2]);
exit(1);
}
if (child > 0)
{
sleep(timeout);
- printf("Timeout, killing all test processes\n");
kill(0,SIGABRT);
exit(1);
}