Revision 18317,
720 bytes
checked in by ghudson, 22 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r18316,
which included commits to RCS files with non-trunk default branches.
|
Rev | Line | |
---|
[18316] | 1 | # setup the environment |
---|
| 2 | |
---|
| 3 | mkdir /tmp/test |
---|
| 4 | cp test.input /tmp/test/test.input |
---|
| 5 | cd /tmp/test |
---|
| 6 | |
---|
| 7 | # simple tests on the file filing system |
---|
| 8 | |
---|
| 9 | cp test.input t |
---|
| 10 | mv t t2 |
---|
| 11 | cp t2 t |
---|
| 12 | open #1 t |
---|
| 13 | read #1 16 |
---|
| 14 | seek #1 0 |
---|
| 15 | read #1 16 |
---|
| 16 | open #2 t2 |
---|
| 17 | read #2 16 |
---|
| 18 | close #1 |
---|
| 19 | close #2 |
---|
| 20 | rm t |
---|
| 21 | rm t2 |
---|
| 22 | |
---|
| 23 | # gzip as far as it goes ( no where ) |
---|
| 24 | |
---|
| 25 | # cd /tmp/test |
---|
| 26 | # cp test.input /tmp/test/t.gz#gzip: |
---|
| 27 | # open #1 /tmp/test/t.gz#gzip: |
---|
| 28 | # read #1 16 |
---|
| 29 | # close #1 |
---|
| 30 | # rm t.gz |
---|
| 31 | |
---|
| 32 | # efs |
---|
| 33 | |
---|
| 34 | cd /tmp/test |
---|
| 35 | mkdir /tmp/test/t.efs#efs:/ |
---|
| 36 | cp test.input /tmp/test/t.efs#efs:/t |
---|
| 37 | cp /tmp/test/test.input /tmp/test/t.efs#efs:/t2 |
---|
| 38 | cd /tmp/test/t.efs#efs:/ |
---|
| 39 | open #1 t |
---|
| 40 | ls |
---|
| 41 | open #2 t2 |
---|
| 42 | read #1 16 |
---|
| 43 | read #2 16 |
---|
| 44 | ls |
---|
| 45 | close #1 |
---|
| 46 | close #2 |
---|
| 47 | cd /tmp/test |
---|
| 48 | rm t.efs |
---|
| 49 | |
---|
| 50 | # cleanup |
---|
| 51 | |
---|
| 52 | rm /tmp/test/test.input |
---|
| 53 | rmdir /tmp/test |
---|
| 54 | quit |
---|
| 55 | |
---|
Note: See
TracBrowser
for help on using the repository browser.