aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/userprog/write-normal.ck
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/userprog/write-normal.ck')
-rw-r--r--src/tests/userprog/write-normal.ck12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tests/userprog/write-normal.ck b/src/tests/userprog/write-normal.ck
new file mode 100644
index 0000000..9fa6024
--- /dev/null
+++ b/src/tests/userprog/write-normal.ck
@@ -0,0 +1,12 @@
+# -*- perl -*-
+use strict;
+use warnings;
+use tests::tests;
+check_expected ([<<'EOF']);
+(write-normal) begin
+(write-normal) create "test.txt"
+(write-normal) open "test.txt"
+(write-normal) end
+write-normal: exit(0)
+EOF
+pass;