summaryrefslogtreecommitdiffstats
path: root/test/time-sem.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/time-sem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/time-sem.c b/test/time-sem.c
index 7bd0501..60e5982 100644
--- a/test/time-sem.c
+++ b/test/time-sem.c
@@ -548,6 +548,7 @@ void main (int argc, char **argv)
exit (0);
} else if (pid == -1) {
perror ("fork");
+ accept_mutex_off ();
exit (1);
}
}
@@ -555,6 +556,7 @@ void main (int argc, char **argv)
/* a quick test to see that nothing is screwed up */
if (*shared_counter != 0) {
puts ("WTF! shared_counter != 0 before the children have been started!");
+ accept_mutex_off ();
exit (1);
}