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

📄 args.sh

📁 xorp源码hg
💻 SH
字号:
## $XORP: xorp/bgp/harness/args.sh,v 1.4 2006/04/04 12:07:44 bms Exp $### All the command line processing for the test scripts in one place.#START_PROGRAMS="yes"CONFIGURE="yes"QUIET=""VERBOSE=""RESTART="yes"# Perform Win32 path conversion for runit if required.RUNIT="runit"RUNITDIR="../../utils"RUNITPRE=""if [ x"$OSTYPE" = xmsys ]; then    RUNITPRE="cmd //c"    RUNITDIR=$(cd ${RUNITDIR} && pwd -W)firunit(){    ${RUNITPRE} ${RUNITDIR}/${RUNIT} "$@"}# -q (Quiet)# -v (Verbose)# -s (Single) Do not start ancillary programs. They must already be running.# -t (Tests) The tests to run.# -a (All) Run all the tests including the ones that trigger bugs.# -b (Bugs) Run only the tests that trigger bugs.# -c (Configure) In (Single) mode BGP and the RIB are not configured. #                Force configuration.# -l (Leave) Leave the ancillary programs running between tests.while getopts "qvsbt:abcl" argsdo    case $args in    q)	QUIET="-q"	;;    v)	VERBOSE="-v"	;;    s)	START_PROGRAMS="no"	CONFIGURE="no"	;;    t)	TESTS="$OPTARG"	;;    a)	TESTS="${TESTS} ${TESTS_NOT_FIXED}"	;;    b)	TESTS=${TESTS_NOT_FIXED}	;;    c)	REALLY_CONFIGURE="yes"	;;    l)	RESTART="no"	;;    *)	echo "default"	;;    esacdoneif [ ${REALLY_CONFIGURE:-""} = "yes" ]then    CONFIGURE="yes"fiif [ $START_PROGRAMS = "yes" -a $RESTART = "yes" ]then    for i in $TESTS    do	COMMAND="$0 $QUIET $VERBOSE -l -t $i"	echo "Entering $COMMAND"	$COMMAND	echo "Leaving $COMMAND"    done    trap '' 0    exit 0fi

⌨️ 快捷键说明

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