diff options
Diffstat (limited to 'tests/userprog/read-normal.ck')
| -rw-r--r-- | tests/userprog/read-normal.ck | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/userprog/read-normal.ck b/tests/userprog/read-normal.ck new file mode 100644 index 0000000..0ed2998 --- /dev/null +++ b/tests/userprog/read-normal.ck | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | # -*- perl -*- | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use tests::tests; | ||
| 5 | check_expected ([<<'EOF']); | ||
| 6 | (read-normal) begin | ||
| 7 | (read-normal) open "sample.txt" for verification | ||
| 8 | (read-normal) verified contents of "sample.txt" | ||
| 9 | (read-normal) close "sample.txt" | ||
| 10 | (read-normal) end | ||
| 11 | read-normal: exit(0) | ||
| 12 | EOF | ||
| 13 | pass; | ||
