From ed797c46ca3b8be1c6f0b172d7c00f2668e49b9f Mon Sep 17 00:00:00 2001 From: Khouloud Touil Date: Wed, 13 Mar 2019 15:28:01 +0100 Subject: Fix: delete the temporary file Before breaking the loop, the temporary file should be deleted. Change-Id: I3d2abb49b78cdf08e77ce4007d24e40dd4a93ea5 Signed-off-by: Khouloud Touil --- common/scripts/test_can_bitrate.sh | 1 + 1 file changed, 1 insertion(+) 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 -- cgit 1.2.3-korg