Fix the for loop
[src/qa-testdefinitions.git] / common / scripts / test_can_bitrate.sh
index ef5b22a..08592fe 100755 (executable)
@@ -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