From c27016a35a269d53a3efe082e9fc15f192183f5d Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Fri, 24 Jul 2009 01:27:58 +1200 Subject: [PATCH] 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 --- test-builds.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.3