minor change

This commit is contained in:
tomas 2005-02-22 03:24:20 +00:00
parent 28839120d8
commit 9299a5531f
1 changed files with 7 additions and 5 deletions

View File

@ -23,7 +23,7 @@
# #
# #
# Author : $Author: tomas $ # 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 $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/testRunner.sh,v $
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
@ -325,16 +325,18 @@ searchTest() {
storeAudioClip storeAudioClip
GUNID=$RGUNID GUNID=$RGUNID
searchMetadata searchMetadata
if [ "$RES" == "AC(1): $GUNID | PL(0): " ]; then OK="AC(1): $GUNID | PL(0): "
if [ "$RES" == "$OK" ]; then
echo "match: OK" echo "match: OK"
else else
echo "results doesn't match ($RES)"; deleteAudioClip; exit 1; echo "results doesn't match ($OK)"; deleteAudioClip; exit 1;
fi fi
browseCategory browseCategory
if [ "$RES" == "RES(1): Media title testRunner" ]; then OK="RES(1): Media title testRunner"
if [ "$RES" == "$OK" ]; then
echo "match: OK" echo "match: OK"
else else
echo "results doesn't match ($RES)"; deleteAudioClip; exit 1; echo "results doesn't match ($OK)"; deleteAudioClip; exit 1;
fi fi
deleteAudioClip deleteAudioClip
logout logout