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