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