diff options
Diffstat (limited to 'pintos-progos/tests/vm/mmap-write.ck')
| -rw-r--r-- | pintos-progos/tests/vm/mmap-write.ck | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pintos-progos/tests/vm/mmap-write.ck b/pintos-progos/tests/vm/mmap-write.ck new file mode 100644 index 0000000..d2c9cc5 --- /dev/null +++ b/pintos-progos/tests/vm/mmap-write.ck | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | # -*- perl -*- | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use tests::tests; | ||
| 5 | check_expected (IGNORE_EXIT_CODES => 1, [<<'EOF']); | ||
| 6 | (mmap-write) begin | ||
| 7 | (mmap-write) create "sample.txt" | ||
| 8 | (mmap-write) open "sample.txt" | ||
| 9 | (mmap-write) mmap "sample.txt" | ||
| 10 | (mmap-write) compare read data against written data | ||
| 11 | (mmap-write) end | ||
| 12 | EOF | ||
| 13 | pass; | ||
