Code Review
/
src
/
qa-testdefinitions.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
af27f3b
)
Fix the for loop
71/20671/1
author
Khouloud Touil
<ktouil@baylibre.com>
Wed, 13 Mar 2019 14:19:00 +0000
(15:19 +0100)
committer
Khouloud Touil
<ktouil@baylibre.com>
Thu, 14 Mar 2019 09:14:10 +0000
(10:14 +0100)
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 <ktouil@baylibre.com>
common/scripts/test_can_bitrate.sh
patch
|
blob
|
history
diff --git
a/common/scripts/test_can_bitrate.sh
b/common/scripts/test_can_bitrate.sh
index
ef5b22a
..
08592fe
100755
(executable)
--- 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