From: Dennis Schafroth Date: Mon, 17 Jan 2011 15:40:52 +0000 (+0100) Subject: Test for preferred flags. Not included in tests yet X-Git-Tag: v1.5.2~5 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=ae22e20ef787301f657c31fda47b91b44d9dc5b7;p=pazpar2-moved-to-github.git Test for preferred flags. Not included in tests yet --- diff --git a/test/test_preferred.sh b/test/test_preferred.sh index fe1f71b..0d2688d 100755 --- a/test/test_preferred.sh +++ b/test/test_preferred.sh @@ -17,12 +17,13 @@ srcdir=${srcdir:-"."} ${srcdir}/run_pazpar2.sh test_preferred E=$? -grep "has preferred" pazpar2.log > test_preferred.log +grep "has preferred" pazpar2.log | cut -f 4- -d ' ' > test_preferred.log # if [ -f test_preferred.res ] ; then diff test_preferred.res test_preferred.log > test_preferred.dif E2=$? if [ $E2 -ne 0 ] ; then + echo "has preferred test failed!" E=$E2 fi else