eval_onescript.sh

来自「snmp up7」· Shell 代码 · 共 38 行

SH
38
字号
#!/bin/sh## eval_onescript.sh SCRIPT  [TESTNUMBER [HEADERONLY] ]## Evaluates one test program, and helps it out by doing a bit of setup# for it.  It does this by sourcing some configuration files for it# first, and if it exited without calling FINISHED, call it.## Not intended to be a tool for the common user!  Called by RUNTESTS# directly instead.#testnum=1if [ "x$2" != "x" ]; then	testnum=$2fiexport testnumunset SNMP_HEADERONLYif [ "x$3" = "xyes" ]; then    SNMP_HEADERONLY=yesfiexport SNMP_HEADERONLY. TESTCONF.sh. eval_tools.shECHO "$testnum:  ". ./$1# We shouldn't get here...# If we do, it means they didn't exit properly.# So we will.STOPAGENT      # Just in case.FINISHED

⌨️ 快捷键说明

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