summaryrefslogtreecommitdiffstats
path: root/tests/userprog/rox-multichild.ck
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2012-03-27 11:51:08 +0200
committermanuel <manuel@mausz.at>2012-03-27 11:51:08 +0200
commit4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b (patch)
tree868c52e06f207b5ec8a3cc141f4b8b2bdfcc165c /tests/userprog/rox-multichild.ck
parenteae0bd57f0a26314a94785061888d193d186944a (diff)
downloadprogos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.tar.gz
progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.tar.bz2
progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.zip
reorganize file structure to match the upstream requirements
Diffstat (limited to 'tests/userprog/rox-multichild.ck')
-rw-r--r--tests/userprog/rox-multichild.ck44
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/userprog/rox-multichild.ck b/tests/userprog/rox-multichild.ck
new file mode 100644
index 0000000..14b27db
--- /dev/null
+++ b/tests/userprog/rox-multichild.ck
@@ -0,0 +1,44 @@
1# -*- perl -*-
2use strict;
3use warnings;
4use tests::tests;
5check_expected ([<<'EOF']);
6(rox-multichild) begin
7(rox-multichild) open "child-rox"
8(rox-multichild) read "child-rox"
9(rox-multichild) write "child-rox"
10(rox-multichild) exec "child-rox 5"
11(child-rox) begin
12(child-rox) try to write "child-rox"
13(child-rox) exec "child-rox 4"
14(child-rox) begin
15(child-rox) try to write "child-rox"
16(child-rox) exec "child-rox 3"
17(child-rox) begin
18(child-rox) try to write "child-rox"
19(child-rox) exec "child-rox 2"
20(child-rox) begin
21(child-rox) try to write "child-rox"
22(child-rox) exec "child-rox 1"
23(child-rox) begin
24(child-rox) try to write "child-rox"
25(child-rox) try to write "child-rox"
26(child-rox) end
27child-rox: exit(12)
28(child-rox) try to write "child-rox"
29(child-rox) end
30child-rox: exit(12)
31(child-rox) try to write "child-rox"
32(child-rox) end
33child-rox: exit(12)
34(child-rox) try to write "child-rox"
35(child-rox) end
36child-rox: exit(12)
37(child-rox) try to write "child-rox"
38(child-rox) end
39child-rox: exit(12)
40(rox-multichild) write "child-rox"
41(rox-multichild) end
42rox-multichild: exit(0)
43EOF
44pass;