Annotation of Net2/tests/fstests/existfs, revision 1.1.1.1

1.1       root        1: #!/bin/csh -f
                      2: set time=2
                      3: if ($#argv < 1) then
                      4:        echo "Usage: existfs name"
                      5:        exit 1
                      6: endif
                      7: echo "tests on $1"
                      8: /etc/dumpfs $1 | head -14 | tail -11
                      9: mkdir $1/fststs
                     10: if (! -e bin) then
                     11:        mkdir bin
                     12:        cc -o bin/write_4096 write_4096.c
                     13:        cc -o bin/write_8192 write_8192.c
                     14:        cc -o bin/rewrite_8192 rewrite_8192.c
                     15:        cc -o bin/read_8192 read_8192.c
                     16: endif
                     17: cp bin/write_4096 bin/write_8192 bin/rewrite_8192 bin/read_8192 $1/fststs
                     18: cd $1/fststs
                     19: echo "write_4096"
                     20: rm -f tst2
                     21: ./write_4096 tst2
                     22: rm -f tst2
                     23: ./write_4096 tst2
                     24: rm -f tst2
                     25: ./write_4096 tst2
                     26: echo "write_8192"
                     27: rm -f tst2
                     28: ./write_8192 tst2
                     29: rm -f tst2
                     30: ./write_8192 tst2
                     31: rm -f tst2
                     32: ./write_8192 tst2
                     33: echo "rewrite_8192"
                     34: ./rewrite_8192 tst2
                     35: ./rewrite_8192 tst2
                     36: ./rewrite_8192 tst2
                     37: echo "read_8192"
                     38: ./read_8192 tst2
                     39: ./read_8192 tst2
                     40: ./read_8192 tst2
                     41: echo "done"

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.