diff options
| author | manuel <manuel@mausz.at> | 2012-03-26 12:54:45 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2012-03-26 12:54:45 +0200 |
| commit | b5f0874cd96ee2a62aabc645b9626c2749cb6a01 (patch) | |
| tree | 1262e4bbe0634de6650be130c36e0538240f4cbf /pintos-progos/tests/filesys/extended/grow-two-files.ck | |
| download | progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.gz progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.bz2 progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.zip | |
initial pintos checkin
Diffstat (limited to 'pintos-progos/tests/filesys/extended/grow-two-files.ck')
| -rw-r--r-- | pintos-progos/tests/filesys/extended/grow-two-files.ck | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pintos-progos/tests/filesys/extended/grow-two-files.ck b/pintos-progos/tests/filesys/extended/grow-two-files.ck new file mode 100644 index 0000000..b5e754a --- /dev/null +++ b/pintos-progos/tests/filesys/extended/grow-two-files.ck | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | # -*- perl -*- | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use tests::tests; | ||
| 5 | use tests::random; | ||
| 6 | check_expected (IGNORE_EXIT_CODES => 1, [<<'EOF']); | ||
| 7 | (grow-two-files) begin | ||
| 8 | (grow-two-files) create "a" | ||
| 9 | (grow-two-files) create "b" | ||
| 10 | (grow-two-files) open "a" | ||
| 11 | (grow-two-files) open "b" | ||
| 12 | (grow-two-files) write "a" and "b" alternately | ||
| 13 | (grow-two-files) close "a" | ||
| 14 | (grow-two-files) close "b" | ||
| 15 | (grow-two-files) open "a" for verification | ||
| 16 | (grow-two-files) verified contents of "a" | ||
| 17 | (grow-two-files) close "a" | ||
| 18 | (grow-two-files) open "b" for verification | ||
| 19 | (grow-two-files) verified contents of "b" | ||
| 20 | (grow-two-files) close "b" | ||
| 21 | (grow-two-files) end | ||
| 22 | EOF | ||
| 23 | pass; | ||
