Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / src / tests / userprog / open-bad-ptr.ck
1 # -*- perl -*-
2 use strict;
3 use warnings;
4 use tests::tests;
5 check_expected ([<<'EOF', <<'EOF']);
6 (open-bad-ptr) begin
7 (open-bad-ptr) end
8 open-bad-ptr: exit(0)
9 EOF
10 (open-bad-ptr) begin
11 open-bad-ptr: exit(-1)
12 EOF