X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Fscripts%2Ftest_can_bitrate.sh;h=11b265d7aca2da8a6d619ac18502786e6ed628be;hb=refs%2Fheads%2Fjellyfish;hp=2461fa0268e78dfc57b3b7a7140edcf78100f39b;hpb=f6e4ceb2f7e5a3f6020e3d64e8c9270a11f94bd4;p=src%2Fqa-testdefinitions.git diff --git a/common/scripts/test_can_bitrate.sh b/common/scripts/test_can_bitrate.sh index 2461fa0..11b265d 100755 --- a/common/scripts/test_can_bitrate.sh +++ b/common/scripts/test_can_bitrate.sh @@ -69,9 +69,9 @@ for b in `seq 778 790`;do candump can1 > $file_can & sleep 3 if [ -s $file_can ];then - lava-test-case can1_xfer_config_range_start --result pass --measurement $b --units bit/s - else lava-test-case can1_xfer_config_range_start --result fail --measurement $b --units bit/s + else + lava-test-case can1_xfer_config_range_start --result pass --measurement $b --units bit/s sleep 2 echo "This bitrate $b belongs to the domain but doesn't provide frames transmission" fi @@ -153,7 +153,7 @@ for b in `seq 1909088 1909092`;do done if [ $bitrate_no_transmission -eq 0 ];then - lava-test-case can1_xfer_tx_range_end --result fail --measurement $b --units bit/s + lava-test-case can1_xfer_tx_range_end --result skip --measurement $b --units bit/s echo "All bitrates in this interval provide frames transmission, the last bitrate not found in this range" ip link set can0 down ip link set can1 down