From 9299a5531fba2f4298fbbf7c57fc66848cc6610c Mon Sep 17 00:00:00 2001 From: tomas Date: Tue, 22 Feb 2005 03:24:20 +0000 Subject: [PATCH] minor change --- .../modules/storageServer/var/xmlrpc/testRunner.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/livesupport/modules/storageServer/var/xmlrpc/testRunner.sh b/livesupport/modules/storageServer/var/xmlrpc/testRunner.sh index ccf765796..8b65399a5 100755 --- a/livesupport/modules/storageServer/var/xmlrpc/testRunner.sh +++ b/livesupport/modules/storageServer/var/xmlrpc/testRunner.sh @@ -23,7 +23,7 @@ # # # Author : $Author: tomas $ -# Version : $Revision: 1.23 $ +# Version : $Revision: 1.24 $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/testRunner.sh,v $ #------------------------------------------------------------------------------- @@ -325,16 +325,18 @@ searchTest() { storeAudioClip GUNID=$RGUNID searchMetadata - if [ "$RES" == "AC(1): $GUNID | PL(0): " ]; then + OK="AC(1): $GUNID | PL(0): " + if [ "$RES" == "$OK" ]; then echo "match: OK" else - echo "results doesn't match ($RES)"; deleteAudioClip; exit 1; + echo "results doesn't match ($OK)"; deleteAudioClip; exit 1; fi browseCategory - if [ "$RES" == "RES(1): Media title testRunner" ]; then + OK="RES(1): Media title testRunner" + if [ "$RES" == "$OK" ]; then echo "match: OK" else - echo "results doesn't match ($RES)"; deleteAudioClip; exit 1; + echo "results doesn't match ($OK)"; deleteAudioClip; exit 1; fi deleteAudioClip logout