summaryrefslogtreecommitdiffstats
path: root/pintos-progos/tests/vm/mmap-write.ck
diff options
context:
space:
mode:
Diffstat (limited to 'pintos-progos/tests/vm/mmap-write.ck')
-rw-r--r--pintos-progos/tests/vm/mmap-write.ck13
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 -*-
2use strict;
3use warnings;
4use tests::tests;
5check_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
12EOF
13pass;