Fix bug in timeout argument
[anna.git] / example / diameter / launcher / resources / scripts / tinyTestcase.sh
index 59fb379..24046b1 100755 (executable)
@@ -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: