summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2019-03-13 15:28:01 +0100
committerKhouloud Touil <ktouil@baylibre.com>2019-03-14 10:14:10 +0100
commited797c46ca3b8be1c6f0b172d7c00f2668e49b9f (patch)
tree2b370c6fbace4986b79faf4955847a6a788a8933 /common
parentcc5951421680b6a620a229b5b08d188043dbde1a (diff)
Fix: delete the temporary file
Before breaking the loop, the temporary file should be deleted. Change-Id: I3d2abb49b78cdf08e77ce4007d24e40dd4a93ea5 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Diffstat (limited to 'common')
-rwxr-xr-xcommon/scripts/test_can_bitrate.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/scripts/test_can_bitrate.sh b/common/scripts/test_can_bitrate.sh
index 08592fe..305515c 100755
--- a/common/scripts/test_can_bitrate.sh
+++ b/common/scripts/test_can_bitrate.sh
@@ -107,6 +107,7 @@ for b in `seq 10790 10800`;do
lava-test-case Receive_can1 --result pass --measurement $b --units bit/s
sleep 2
echo "$b is the first supportable bitrate to provide transmission"
+ rm $file_can
break
fi
ip link set can0 down