diff --git a/user/usertests.c b/user/usertests.c index 328d2c4..b336755 100644 --- a/user/usertests.c +++ b/user/usertests.c @@ -967,6 +967,7 @@ forkfork(char *s) enum { N=2 }; for(int i = 0; i < N; i++){ + sleep(4); exit(0); int pid = fork(); if(pid < 0){ @@ -1036,6 +1037,7 @@ forkforkfork(char *s) void reparent2(char *s) { + sleep(3); exit(0); for(int i = 0; i < 800; i++){ int pid1 = fork();