summaryrefslogtreecommitdiffstats
path: root/pintos-progos/tests/filesys/extended/grow-two-files.ck
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2012-03-26 12:54:45 +0200
committermanuel <manuel@mausz.at>2012-03-26 12:54:45 +0200
commitb5f0874cd96ee2a62aabc645b9626c2749cb6a01 (patch)
tree1262e4bbe0634de6650be130c36e0538240f4cbf /pintos-progos/tests/filesys/extended/grow-two-files.ck
downloadprogos-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.ck23
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 -*-
2use strict;
3use warnings;
4use tests::tests;
5use tests::random;
6check_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
22EOF
23pass;