Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / src / tests / filesys / extended / grow-two-files.ck
1 # -*- perl -*-
2 use strict;
3 use warnings;
4 use tests::tests;
5 check_expected (IGNORE_EXIT_CODES => 1, [<<'EOF']);
6 (grow-two-files) begin
7 (grow-two-files) create "a"
8 (grow-two-files) create "b"
9 (grow-two-files) open "a"
10 (grow-two-files) open "b"
11 (grow-two-files) write "a" and "b" alternately
12 (grow-two-files) close "a"
13 (grow-two-files) close "b"
14 (grow-two-files) open "a" for verification
15 (grow-two-files) verified contents of "a"
16 (grow-two-files) close "a"
17 (grow-two-files) open "b" for verification
18 (grow-two-files) verified contents of "b"
19 (grow-two-files) close "b"
20 (grow-two-files) end
21 EOF