From 4e1e7205235510b3adeb415b4d8997932276cb81 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 26 Nov 2007 05:38:20 +0000 Subject: testsuite: add tests for cut and grep; slight improvements to infrastructure --- testsuite/runtest | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'testsuite/runtest') diff --git a/testsuite/runtest b/testsuite/runtest index 0f081f9a5..92cbfdf4e 100755 --- a/testsuite/runtest +++ b/testsuite/runtest @@ -127,7 +127,7 @@ for applet in $applets; do echo "SKIPPED: $applet (not built)" continue fi - if PATH="$LINKSDIR":$tsdir:$bindir:$PATH \ + if PATH="$LINKSDIR:$tsdir:$bindir:$PATH" \ "${tsdir:-.}/$applet".tests then : @@ -137,5 +137,11 @@ for applet in $applets; do fi done -rm -rf "$LINKSDIR" + +# Leaving the dir makes it somewhat easier to run failed test by hand +#rm -rf "$LINKSDIR" + +if [ $status != 0 -a x"$VERBOSE" = x ]; then + echo "Failures detected, running with VERBOSE=1 will give more info" +fi exit $status -- cgit v1.2.3