projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clarify description to avoid unjustly nailing students.
[pintos-anon]
/
src
/
tests
/
userprog
/
open-null.c
diff --git
a/src/tests/userprog/open-null.c
b/src/tests/userprog/open-null.c
index ba30807189d7b5f6b120416a866826e2c74f45c6..bb418b88b33c20109ec74f4501ffa48c41daa45f 100644
(file)
--- a/
src/tests/userprog/open-null.c
+++ b/
src/tests/userprog/open-null.c
@@
-1,3
+1,6
@@
+/* Tries to open a file with the null pointer as its name.
+ The process must be terminated with exit code -1. */
+
#include <stddef.h>
#include <syscall.h>
#include "tests/main.h"