Updated, but need a review
authorDennis Schafroth <dennis@indexdata.com>
Tue, 24 Apr 2012 14:29:21 +0000 (14:29 +0000)
committerDennis Schafroth <dennis@indexdata.com>
Tue, 24 Apr 2012 14:29:21 +0000 (14:29 +0000)
test/test_preferred.sh

index 0d2688d..e9899f4 100755 (executable)
@@ -14,10 +14,12 @@ srcdir=${srcdir:-"."}
 #    exit 0
 #fi
 
+TEST=test_preferred_
+
 ${srcdir}/run_pazpar2.sh test_preferred
 E=$?
 
-grep "has preferred" pazpar2.log | cut -f 4- -d ' ' > test_preferred.log
+grep "has preferred" ${TEST}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