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