Remove the 1000 times check from forktest

上级 36ebee8f
...@@ -1231,11 +1231,6 @@ forktest(void) ...@@ -1231,11 +1231,6 @@ forktest(void)
exit(); exit();
} }
if(n == 1000){
printf(1, "fork claimed to work 1000 times!\n");
exit();
}
for(; n > 0; n--){ for(; n > 0; n--){
if(wait() < 0){ if(wait() < 0){
printf(1, "wait stopped early\n"); printf(1, "wait stopped early\n");
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论