commit 0d7f0eedd83e1413336268d0a957adb7bb6c6e21
parent c78f576382c99d830b56d9f97e97c0ead1c5fe46
Author: J Pipkin <j@dawnrazor.net>
Date: Sun, 13 Jan 2013 09:21:02 -0600
zero out various OLOGs, add else.fail.log for other exit values
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/tools/masstest_sbo.sh b/tools/masstest_sbo.sh
@@ -15,6 +15,10 @@ RLOG=~/remove.log
:> $ILOG
:> $RLOG
+for i in build md5sum wget noinfo nomulti else; do
+ :> ~/$i.fail.log
+done
+
function build_things() {
if [ ! -z $1 ]; then
. /usr/sbo/*/$1/$1.info
@@ -33,6 +37,7 @@ function build_things() {
"5") OLOG=~/wget.fail.log ;;
"7") OLOG=~/noinfo.fail.log ;;
"9") OLOG=~/nomulti.fail.log ;;
+ *) OLOG=~/else.fail.log
esac
if [[ "$OLOG" != "" ]]; then
if ! grep -q "^$1 added to build queue.$" $OLOG; then