projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use test -f because Solaris sh does not support -e.
[pintos-anon]
/
src
/
tests
/
vm
/
mmap-write.c
diff --git
a/src/tests/vm/mmap-write.c
b/src/tests/vm/mmap-write.c
index b231282f96e4b1dc3c485d14b5a4e0aa168bf9ac..46e804349367aab3c0259bdf1f5ff87dddc1d2be 100644
(file)
--- a/
src/tests/vm/mmap-write.c
+++ b/
src/tests/vm/mmap-write.c
@@
-1,3
+1,7
@@
+/* Writes to a file through a mapping, and unmaps the file,
+ then reads the data in the file back using the read system
+ call to verify. */
+
#include <string.h>
#include <syscall.h>
#include "tests/vm/sample.inc"