run-checks

来自「The Kannel Open Source WAP and SMS gatew」· 代码 · 共 30 行

TXT
30
字号
#!/bin/sh## This script runs all the checks given in the command line. See the# README for more info.#rm -f check.log check.log.newfor prog in "$@"do	echo -n "Check: $prog..."        $prog 2> check.log.new	if test ! -s check.log.new	then		echo " OK."	else		echo " FAILURE!"		echo "Check: $prog" >> check.log		cat check.log.new >> check.log	fi	rm check.log.newdoneif test -s check.logthen	echo At least one check failed, see \`check.log\'.else	echo All checks OK.	rm -f check.logfi

⌨️ 快捷键说明

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