summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-10-16 07:52:13 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-10-16 07:52:13 +0000
commitad55d3e5d7f9c5a7d04aeeaac86cfba12750cc73 (patch)
tree93575a769d2c0af2e738e6e44e1b4ac0f079b6c5
parent37f31bb32e67c443e4a67fdebc3c13ca1253c959 (diff)
parent94a4e645c7a90b7b493f620dbe25d699ff922b2f (diff)
Merge "Inverse the fail/pass logic"
-rwxr-xr-xcommon/scripts/test_can_bitrate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/scripts/test_can_bitrate.sh b/common/scripts/test_can_bitrate.sh
index 2461fa0..3a8f225 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