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