source: trunk/third/gnome-vfs/test/test.cmds @ 15497

Revision 15497, 720 bytes checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15496, which included commits to RCS files with non-trunk default branches.
Line 
1# setup the environment
2
3mkdir /tmp/test
4cp test.input /tmp/test/test.input
5cd /tmp/test
6
7# simple tests on the file filing system
8
9cp test.input t
10mv t t2
11cp t2 t
12open #1 t
13read #1 16
14seek #1 0
15read #1 16
16open #2 t2
17read #2 16
18close #1
19close #2
20rm t
21rm 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
34cd /tmp/test
35mkdir /tmp/test/t.efs#efs:/
36cp test.input /tmp/test/t.efs#efs:/t
37cp /tmp/test/test.input /tmp/test/t.efs#efs:/t2
38cd /tmp/test/t.efs#efs:/
39open #1 t
40ls
41open #2 t2
42read #1 16
43read #2 16
44ls
45close #1
46close #2
47cd /tmp/test
48rm t.efs
49
50# cleanup
51
52rm /tmp/test/test.input
53rmdir /tmp/test
54quit
55
Note: See TracBrowser for help on using the repository browser.