File:  [CSRG BSD Unix] / 43BSDReno / sys / nfs / TEST / unix-tests / general / runtests
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:57 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

:
#!/bin/sh
#
#       @(#)runtests	1.4 90/01/09 NFS Rev 2 testsuite
#

# If the initialization file is present, assume we are in the distribution
# tree and that we must copy the tests to the test directory.  Otherwise,
# we are in the test directory and can just run the tests

InitFile="../tests.init"

if test -f $InitFile
then
	. $InitFile
	echo "GENERAL TESTS: directory $NFSTESTDIR"
	mkdir $NFSTESTDIR
	if test ! -d $NFSTESTDIR
	then
		echo "Can't make directory $NFSTESTDIR"
		exit 1
	fi
	make copy DESTDIR=$NFSTESTDIR
	cd $NFSTESTDIR
else
	NFSTESTDIR=`pwd`
	export PATH
	echo "GENERAL TESTS: directory $NFSTESTDIR"
fi

exec sh runtests.wrk FROM_RUNTESTS

unix.superglobalmegacorp.com

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