summaryrefslogtreecommitdiffstats
path: root/pintos-progos/tests/vm/mmap-over-code.ck
diff options
context:
space:
mode:
Diffstat (limited to 'pintos-progos/tests/vm/mmap-over-code.ck')
-rw-r--r--pintos-progos/tests/vm/mmap-over-code.ck11
1 files changed, 11 insertions, 0 deletions
diff --git a/pintos-progos/tests/vm/mmap-over-code.ck b/pintos-progos/tests/vm/mmap-over-code.ck
new file mode 100644
index 0000000..b5b23c7
--- /dev/null
+++ b/pintos-progos/tests/vm/mmap-over-code.ck
@@ -0,0 +1,11 @@
1# -*- perl -*-
2use strict;
3use warnings;
4use tests::tests;
5check_expected (IGNORE_EXIT_CODES => 1, [<<'EOF']);
6(mmap-over-code) begin
7(mmap-over-code) open "sample.txt"
8(mmap-over-code) try to mmap over code segment
9(mmap-over-code) end
10EOF
11pass;