Fix local server for multiple applications
[anna.git] / example / diameter / launcher / resources / scripts / tinyTestcase.sh
index 01674c2..ba867b2 100755 (executable)
@@ -128,7 +128,7 @@ search_xml () {
 
   return 1
 }
+
 # $1: metadata file; $2: xml file; $3: check Result-Code indicator; $4: client/server (ADML node role)
 update_testcase () {
   # metadata aspect:
@@ -193,7 +193,7 @@ update_testcase () {
       local ans_xml=${hbh_matchs[1]}
       local rc=2001
       if [ -n "$ans_xml" ]
-      then 
+      then
         _rc=$(getResultCode $ans_xml)
         [ -n "$_rc" ] && rc=$_rc
       fi
@@ -304,7 +304,7 @@ do
   # Ignore keep alives:
   grep -q "^code=280$" $mtd
   [ $? -eq 0 ] && continue
-  
+
   grep -q "^isrequest=1$" $mtd
   if [ $? -eq 0 ]
   then
@@ -320,7 +320,7 @@ do
     fi
     # Other requests:
     echo $frame >> requests_4_sending
-    
+
     # client or server:
     adml_type=$(grep -w "$originHost" $ohs_file | awk '{ print $NF }')
     update_testcase $mtd $xml check_result_code $adml_type