|
|
1.1 ! root 1: : ! 2: #!/bin/sh ! 3: # ! 4: # @(#)runtests 1.3 90/01/03 NFS Rev 2 testsuite ! 5: # ! 6: ! 7: InitFile="../tests.init" ! 8: ! 9: if test $# -ge 1 ! 10: then ! 11: TESTARG=$1 ! 12: else ! 13: . $InitFile ! 14: fi ! 15: ! 16: echo "Starting BASIC tests: test directory $NFSTESTDIR (arg: $TESTARG)" ! 17: mkdir $NFSTESTDIR ! 18: if test ! -d $NFSTESTDIR ! 19: then ! 20: echo "Can't make directory $NFSTESTDIR" ! 21: exit 1 ! 22: fi ! 23: ! 24: set -e ! 25: # File and Directory tree creation test ! 26: echo "" ! 27: test1 $TESTARG ! 28: # File and Directory tree removal test ! 29: echo "" ! 30: test2 $TESTARG ! 31: # Lookup across mount point ! 32: echo "" ! 33: test3 $TESTARG ! 34: # Setattr, getattr and lookup tests ! 35: echo "" ! 36: test4 $TESTARG ! 37: # Getattr and lookup tests ! 38: # echo "" ! 39: # test4a $TESTARG ! 40: # Write and read tests ! 41: echo "" ! 42: test5 $TESTARG ! 43: # Test 5a and 5b separate out the read and write tests into simpler components. ! 44: # echo "" ! 45: # test5a $TESTARG ! 46: # echo "" ! 47: # test5b $TESTARG ! 48: # Read Directory test ! 49: echo "" ! 50: test6 $TESTARG ! 51: # Rename and Link Test ! 52: echo "" ! 53: test7 $TESTARG ! 54: # Rename Test ! 55: # echo "" ! 56: # test7a $TESTARG ! 57: # Link Test ! 58: # echo "" ! 59: # test7b $TESTARG ! 60: # Symlink and readlink test ! 61: echo "" ! 62: test8 $TESTARG ! 63: # Getfs test ! 64: echo "" ! 65: test9 $TESTARG ! 66: echo "" ! 67: ! 68: echo "Congratulations, you passed the basic tests!"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.