aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/userprog/read-normal.ck
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/userprog/read-normal.ck')
-rw-r--r--src/tests/userprog/read-normal.ck13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tests/userprog/read-normal.ck b/src/tests/userprog/read-normal.ck
new file mode 100644
index 0000000..0ed2998
--- /dev/null
+++ b/src/tests/userprog/read-normal.ck
@@ -0,0 +1,13 @@
+# -*- perl -*-
+use strict;
+use warnings;
+use tests::tests;
+check_expected ([<<'EOF']);
+(read-normal) begin
+(read-normal) open "sample.txt" for verification
+(read-normal) verified contents of "sample.txt"
+(read-normal) close "sample.txt"
+(read-normal) end
+read-normal: exit(0)
+EOF
+pass;