Tabs -> spaces

This commit is contained in:
Neal Norwitz 2008-03-05 05:49:03 +00:00
parent 48309d5a4b
commit 64984a895e
1 changed files with 13 additions and 13 deletions

View File

@ -93,7 +93,7 @@ update_status() {
place_summary_first() { place_summary_first() {
testf=$1 testf=$1
sed -n '/^[0-9][0-9]* tests OK\./,$p' < $testf \ sed -n '/^[0-9][0-9]* tests OK\./,$p' < $testf \
| egrep -v '\[[0-9]+ refs\]' > $testf.tmp | egrep -v '\[[0-9]+ refs\]' > $testf.tmp
echo "" >> $testf.tmp echo "" >> $testf.tmp
cat $testf >> $testf.tmp cat $testf >> $testf.tmp
mv $testf.tmp $testf mv $testf.tmp $testf
@ -103,7 +103,7 @@ count_failures () {
testf=$1 testf=$1
n=`grep -ic " failed:" $testf` n=`grep -ic " failed:" $testf`
if [ $n -eq 1 ] ; then if [ $n -eq 1 ] ; then
n=`grep " failed:" $testf | sed -e 's/ .*//'` n=`grep " failed:" $testf | sed -e 's/ .*//'`
fi fi
echo $n echo $n
} }
@ -115,17 +115,17 @@ mail_on_failure() {
if [ "$FAILURE_CC" != "" ]; then if [ "$FAILURE_CC" != "" ]; then
dest="$dest -c $FAILURE_CC" dest="$dest -c $FAILURE_CC"
fi fi
if [ "x$3" != "x" ] ; then if [ "x$3" != "x" ] ; then
(echo "More important issues:" (echo "More important issues:"
echo "----------------------" echo "----------------------"
egrep -v "$3" < $2 egrep -v "$3" < $2
echo "" echo ""
echo "Less important issues:" echo "Less important issues:"
echo "----------------------" echo "----------------------"
egrep "$3" < $2) egrep "$3" < $2)
else else
cat $2 cat $2
fi | mutt -s "$FAILURE_SUBJECT $1 ($NUM_FAILURES)" $dest fi | mutt -s "$FAILURE_SUBJECT $1 ($NUM_FAILURES)" $dest
fi fi
} }
@ -222,7 +222,7 @@ if [ $err = 0 -a "$BUILD_DISABLED" != "yes" ]; then
## ensure that the reflog exists so the grep doesn't fail ## ensure that the reflog exists so the grep doesn't fail
touch $REFLOG touch $REFLOG
$PYTHON $REGRTEST_ARGS -R 4:3:$REFLOG -u network $LEAKY_SKIPS >& build/$F $PYTHON $REGRTEST_ARGS -R 4:3:$REFLOG -u network $LEAKY_SKIPS >& build/$F
LEAK_PAT="($LEAKY_TESTS|sum=0)" LEAK_PAT="($LEAKY_TESTS|sum=0)"
NUM_FAILURES=`egrep -vc "$LEAK_PAT" $REFLOG` NUM_FAILURES=`egrep -vc "$LEAK_PAT" $REFLOG`
place_summary_first build/$F place_summary_first build/$F
update_status "Testing refleaks ($NUM_FAILURES failures)" "$F" $start update_status "Testing refleaks ($NUM_FAILURES failures)" "$F" $start