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