From cc5951421680b6a620a229b5b08d188043dbde1a Mon Sep 17 00:00:00 2001 From: Khouloud Touil Date: Wed, 13 Mar 2019 15:19:00 +0100 Subject: Fix the for loop To avoid looping several times through the same test case the 'break' should be moved to the right position. Change-Id: I8a4d5e73b1f2ef39f8593209b928323a1770dedf Signed-off-by: Khouloud Touil --- common/scripts/test_can_bitrate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/scripts/test_can_bitrate.sh b/common/scripts/test_can_bitrate.sh index ef5b22a..08592fe 100755 --- a/common/scripts/test_can_bitrate.sh +++ b/common/scripts/test_can_bitrate.sh @@ -73,9 +73,9 @@ for b in `seq 778 790`;do lava-test-case Receive_can1 --result fail --measurement $b --units bit/s sleep 2 echo "This bitrate $b belongs to the domain but doesn't provide frames transmission" - break fi rm $file_can + break fi done -- cgit 1.2.3-korg