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/userprog/create-exists.ck | |
| download | progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.gz progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.bz2 progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.zip | |
initial pintos checkin
Diffstat (limited to 'pintos-progos/tests/userprog/create-exists.ck')
| -rw-r--r-- | pintos-progos/tests/userprog/create-exists.ck | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pintos-progos/tests/userprog/create-exists.ck b/pintos-progos/tests/userprog/create-exists.ck new file mode 100644 index 0000000..006885e --- /dev/null +++ b/pintos-progos/tests/userprog/create-exists.ck | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # -*- perl -*- | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use tests::tests; | ||
| 5 | check_expected ([<<'EOF']); | ||
| 6 | (create-exists) begin | ||
| 7 | (create-exists) create quux.dat | ||
| 8 | (create-exists) create warble.dat | ||
| 9 | (create-exists) try to re-create quux.dat | ||
| 10 | (create-exists) create baffle.dat | ||
| 11 | (create-exists) try to re-create quux.dat | ||
| 12 | (create-exists) end | ||
| 13 | create-exists: exit(0) | ||
| 14 | EOF | ||
| 15 | pass; | ||
