Returning error codes and messages corrected.

This commit is contained in:
tomas 2004-11-25 01:48:40 +00:00
parent c74555104f
commit d95c09c236
4 changed files with 40 additions and 7 deletions

View file

@ -23,7 +23,7 @@
#
#
# Author : $Author: tomas $
# Version : $Revision: 1.5 $
# Version : $Revision: 1.6 $
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/testRunner.sh,v $
#-------------------------------------------------------------------------------
@ -70,7 +70,8 @@ storeAudioClip() {
echo -n "# storeAudioClip: "
MEDIA=../tests/ex1.mp3
METADATA=../tests/testStorage.xml
RGUNID=`$XR_CLI storeAudioClip "$SESSID" '' "$MEDIA" "$METADATA"` || exit $?
RGUNID=`$XR_CLI storeAudioClip "$SESSID" '' "$MEDIA" "$METADATA"` || \
{ ERN=$?; echo $RGUNID; exit $ERN; }
echo $RGUNID
}