From: Adam Dickmeiss Date: Wed, 4 Nov 2009 11:56:39 +0000 (+0100) Subject: Testing: use standard IFS for test URLs X-Git-Tag: v1.2.3~2^2~7 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=9177385f4cb43f8c400e08b002a99153495ed4a3;p=pazpar2-moved-to-github.git Testing: use standard IFS for test URLs Use standard IFS instead of new-line for testing. This allow us to have multiple items on one line, thus ensuring that line #x is test_#x in test result. --- diff --git a/test/run_pazpar2.sh b/test/run_pazpar2.sh index 858bd45..544dc98 100755 --- a/test/run_pazpar2.sh +++ b/test/run_pazpar2.sh @@ -69,10 +69,6 @@ fi # We can start test for real -oIFS="$IFS" -IFS=' -' - testno=1 for f in `cat ${srcdir}/${URLS}`; do if echo $f | grep '^http' >/dev/null; then @@ -121,7 +117,6 @@ for f in `cat ${srcdir}/${URLS}`; do exit 1 fi done -IFS="$oIFS" # Kill programs