a comment
This commit is contained in:
parent
3f6e372a29
commit
25e6803e17
|
@ -598,6 +598,7 @@ forkforkfork(char *s)
|
||||||
sleep(10); // one second
|
sleep(10); // one second
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// allocate all mem, free it, and allocate again
|
||||||
void
|
void
|
||||||
mem(char *s)
|
mem(char *s)
|
||||||
{
|
{
|
||||||
|
@ -1907,7 +1908,8 @@ stacktest(char *s)
|
||||||
exit(xstatus);
|
exit(xstatus);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 1 if successful
|
// run each test in its own process. run returns 1 if child's exit()
|
||||||
|
// indicates success.
|
||||||
int
|
int
|
||||||
run(void f(char *), char *s) {
|
run(void f(char *), char *s) {
|
||||||
int pid;
|
int pid;
|
||||||
|
|
Loading…
Reference in a new issue