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