Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / src / tests / filesys / base / sm-random.ck
1 # -*- perl -*-
2 use strict;
3 use warnings;
4 use tests::tests;
5 check_expected (IGNORE_EXIT_CODES => 1, [<<'EOF']);
6 (sm-random) begin
7 (sm-random) create "bazzle"
8 (sm-random) open "bazzle"
9 (sm-random) write "bazzle" in random order
10 (sm-random) read "bazzle" in random order
11 (sm-random) close "bazzle"
12 (sm-random) end
13 EOF