|
|
1.1 root 1: :
2: #!/bin/sh
3: #
4: # @(#)runtests 1.4 90/01/09 NFS Rev 2 testsuite
5: #
6:
7: # If the initialization file is present, assume we are in the distribution
8: # tree and that we must copy the tests to the test directory. Otherwise,
9: # we are in the test directory and can just run the tests
10:
11: InitFile="../tests.init"
12:
13: if test -f $InitFile
14: then
15: . $InitFile
16: echo "GENERAL TESTS: directory $NFSTESTDIR"
17: mkdir $NFSTESTDIR
18: if test ! -d $NFSTESTDIR
19: then
20: echo "Can't make directory $NFSTESTDIR"
21: exit 1
22: fi
23: make copy DESTDIR=$NFSTESTDIR
24: cd $NFSTESTDIR
25: else
26: NFSTESTDIR=`pwd`
27: export PATH
28: echo "GENERAL TESTS: directory $NFSTESTDIR"
29: fi
30:
31: exec sh runtests.wrk FROM_RUNTESTS
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.