summaryrefslogtreecommitdiffstats
path: root/tests/userprog/rox-child.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-child.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-child.ck')
-rw-r--r--tests/userprog/rox-child.ck20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/userprog/rox-child.ck b/tests/userprog/rox-child.ck
new file mode 100644
index 0000000..e6363fb
--- /dev/null
+++ b/tests/userprog/rox-child.ck
@@ -0,0 +1,20 @@
1# -*- perl -*-
2use strict;
3use warnings;
4use tests::tests;
5check_expected ([<<'EOF']);
6(rox-child) begin
7(rox-child) open "child-rox"
8(rox-child) read "child-rox"
9(rox-child) write "child-rox"
10(rox-child) exec "child-rox 1"
11(child-rox) begin
12(child-rox) try to write "child-rox"
13(child-rox) try to write "child-rox"
14(child-rox) end
15child-rox: exit(12)
16(rox-child) write "child-rox"
17(rox-child) end
18rox-child: exit(0)
19EOF
20pass;