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