Fix bug in timeout argument
[anna.git] / example / diameter / launcher / resources / scripts / tinyTestcase.sh
index 519443d..24046b1 100755 (executable)
@@ -24,7 +24,7 @@ usage() {
   echo "       source_directory:"
   echo "         The source directory may contain .xml and .metadata files grouped by pairs and alphabetically classified,"
   echo "         and also (and this is VERY IMPORTANT), a file called 'origin-hosts' containing a list of Origin-Host"
-  echo "         values that are used from the point of view of the ADML testing system, together with the type of the"
+  echo "         values that represents the point of view of the ADML testing system, together with the type of the"
   echo "         simulated ADML node (client/server):"
   echo
   echo "            <id>.hex.as.xml: ANNA-Diameter XML message format."
@@ -178,7 +178,7 @@ mv .involved_frames_sort .involved_frames
 0> $TESTCASE_BN
 
 # Optional timeout:
-TIMEOUT_SEC=$3
+TIMEOUT_SEC=$2
 [ -n "$TIMEOUT_SEC" ] && echo "test|1|timeout|$((TIMEOUT_SEC * 1000))" >> $TESTCASE_BN
 
 # Process frames: