summaryrefslogtreecommitdiff
path: root/automated
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2016-11-04 15:41:11 +0530
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2016-11-04 13:44:49 +0000
commitfce2e1d9e70d74220ee1db8d56936fc90d78c441 (patch)
treebadfa5af24e9f0c61a82879f8663aba4660d5d3c /automated
parentebc6e0a24a17182bddcadd038fc65e246fbe19fe (diff)
linux: network-basic: cope with shellcheck
Change-Id: I2ff190b03a2fc457444dbfcf24296737daaca130 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Diffstat (limited to 'automated')
-rwxr-xr-xautomated/linux/network-basic/network-basic.sh4
1 files changed, 3 insertions, 1 deletions
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..."