summaryrefslogtreecommitdiffstats
path: root/pintos-progos/tests/userprog/wait-twice.ck
diff options
context:
space:
mode:
Diffstat (limited to 'pintos-progos/tests/userprog/wait-twice.ck')
-rw-r--r--pintos-progos/tests/userprog/wait-twice.ck14
1 files changed, 14 insertions, 0 deletions
diff --git a/pintos-progos/tests/userprog/wait-twice.ck b/pintos-progos/tests/userprog/wait-twice.ck
new file mode 100644
index 0000000..6d53843
--- /dev/null
+++ b/pintos-progos/tests/userprog/wait-twice.ck
@@ -0,0 +1,14 @@
1# -*- perl -*-
2use strict;
3use warnings;
4use tests::tests;
5check_expected ([<<'EOF']);
6(wait-twice) begin
7(child-simple) run
8child-simple: exit(81)
9(wait-twice) wait(exec()) = 81
10(wait-twice) wait(exec()) = -1
11(wait-twice) end
12wait-twice: exit(0)
13EOF
14pass;