⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 runtests

📁 早期freebsd实现
💻
字号:
:#!/bin/sh##       @(#)runtests	1.2 90/01/03 NFS Rev 2 testsuite## Master runtests script.  Default is to run tests in each of# basic, general, and special subdirectories.  $NFSTESTDIR is# removed before general and special tests (if previous test done)# so that tests.init invoked from their respective runtests script# will not ask if the test dir should be removed (since this was# verified in the preceeding test).## Special tests are not run as part of the default suite, but can# be run manually at this level.Program=`basename $0`InitFile="./tests.init"if test $# != 4then	TESTS=$1	TESTARG=$2	TESTPATH=$3else	if test -f $InitFile	then		echo "$Program:  using test defaults in tests.init"		. $InitFile	else		echo "usage:  $Program tests testargs testpath"		exit 1	fifiif test x$NFSTESTDIR = xthen	echo "$Program:  NFSTESTDIR environment variable not set"	exit 1fiexport PATHcase $TESTS in	-a)	dirs="basic general"	;;	-b)	dirs="basic"		;;	-g)	dirs="general"		;;	-s)	dirs="special"		;;esacfor dir in $dirsdo	echo ""	if test -d $NFSTESTDIR	then		rm -rf $NFSTESTDIR	fi	(cd $dir; exec sh runtests $TESTARG)doneecho ""rm -rf $NFSTESTDIRecho "All tests completed"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -