projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Suggestion from Godmar Back.
[pintos-anon]
/
src
/
tests
/
userprog
/
close-twice.c
diff --git
a/src/tests/userprog/close-twice.c
b/src/tests/userprog/close-twice.c
index d3f1e57bc5a81f4fc004b2fd3a0261114f18ea53..830bccf38be9ddf4df11d4014ac43cc527831206 100644
(file)
--- a/
src/tests/userprog/close-twice.c
+++ b/
src/tests/userprog/close-twice.c
@@
-1,3
+1,7
@@
+/* Opens a file and then tries to close it twice. The second
+ close must either fail silently or terminate with exit code
+ -1. */
+
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"