From: Amos Jeffries Date: Thu, 23 Jul 2009 13:27:58 +0000 (+1200) Subject: TestBed: tighten some testing procedures. X-Git-Tag: SQUID_3_1_0_12~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c27016a35a269d53a3efe082e9fc15f192183f5d;p=thirdparty%2Fsquid.git TestBed: tighten some testing procedures. * display last 20 lines of test result on failure we want to see the real error plus, not just "make Error 1" messages * use chmod to improve cleanup removal after (un)install test failures --- diff --git a/test-builds.sh b/test-builds.sh index 45f368750e..613070969b 100755 --- a/test-builds.sh +++ b/test-builds.sh @@ -76,6 +76,7 @@ buildtest() { if test "${cleanup}" = "yes" ; then echo "REMOVE DATA: ${btlayer}" + chmod -R 777 ${btlayer} rm -f -r ${btlayer} fi @@ -86,7 +87,7 @@ buildtest() { fi else echo "Build Failed. Last log lines are:" - tail -5 ${log} + tail -20 ${log} globalResult=1 fi