From fce2e1d9e70d74220ee1db8d56936fc90d78c441 Mon Sep 17 00:00:00 2001 From: Naresh Kamboju Date: Fri, 4 Nov 2016 15:41:11 +0530 Subject: linux: network-basic: cope with shellcheck Change-Id: I2ff190b03a2fc457444dbfcf24296737daaca130 Signed-off-by: Naresh Kamboju --- automated/linux/network-basic/network-basic.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'automated') diff --git a/automated/linux/network-basic/network-basic.sh b/automated/linux/network-basic/network-basic.sh index d464dee..5d819ff 100755 --- a/automated/linux/network-basic/network-basic.sh +++ b/automated/linux/network-basic/network-basic.sh @@ -1,8 +1,10 @@ #!/bin/sh +# shellcheck disable=SC1091 . ../../lib/sh-test-lib OUTPUT="$(pwd)/output" RESULT_FILE="${OUTPUT}/result.txt" +export RESULT_FILE INTERFACE="eth0" GATEWAY="10.0.0.1" @@ -26,7 +28,7 @@ install() { } run() { - local test="$1" + test="$1" test_case_id="$2" echo info_msg "Running ${test_case_id} test..." -- cgit v1.2.3