projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe001d5
)
Add explanatory comments to vm tests.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 8 Jan 2006 19:00:20 +0000
(19:00 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 8 Jan 2006 19:00:20 +0000
(19:00 +0000)
src/tests/userprog/no-vm/multi-oom.c
patch
|
blob
|
history
diff --git
a/src/tests/userprog/no-vm/multi-oom.c
b/src/tests/userprog/no-vm/multi-oom.c
index 042cb2c5338d313c804a6ce94abeeecadf9ad09d..d4d50a64a7370ac9bd4ed0e0c3fbf3a931049e16 100644
(file)
--- a/
src/tests/userprog/no-vm/multi-oom.c
+++ b/
src/tests/userprog/no-vm/multi-oom.c
@@
-1,3
+1,8
@@
+/* Recursively executes itself until the child fails to execute.
+ We expect that at least 15 copies can run.
+ We also require that, if a process doesn't actually get to
+ start, exec() must return -1, not a valid PID. */
+
#include <debug.h>
#include <stdio.h>
#include <stdlib.h>