Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / src / tests / vm / mmap-remove.ck
1 # -*- perl -*-
2 use strict;
3 use warnings;
4 use tests::tests;
5 check_expected (IGNORE_EXIT_CODES => 1, [<<'EOF']);
6 (mmap-remove) begin
7 (mmap-remove) open "sample.txt"
8 (mmap-remove) mmap "sample.txt"
9 (mmap-remove) remove "sample.txt"
10 (mmap-remove) try to open "sample.txt"
11 (mmap-remove) create "another"
12 (mmap-remove) end
13 EOF