projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add explanatory comments to userprog tests.
[pintos-anon]
/
src
/
tests
/
userprog
/
open-bad-ptr.c
diff --git
a/src/tests/userprog/open-bad-ptr.c
b/src/tests/userprog/open-bad-ptr.c
index 8176aa2f0f3c38abcc82a8b1b9dce3930bc6f409..9cd4edf5c66d3d429a5874937ee73270cb065238 100644
(file)
--- a/
src/tests/userprog/open-bad-ptr.c
+++ b/
src/tests/userprog/open-bad-ptr.c
@@
-1,3
+1,6
@@
+/* Passes an invalid pointer to the open system call.
+ The process must be terminated with -1 exit code. */
+
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"