Fix bug in timeout argument
authorEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Sat, 27 Feb 2016 14:36:55 +0000 (15:36 +0100)
committerEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Sat, 27 Feb 2016 14:36:55 +0000 (15:36 +0100)
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: