From bca4ea8b68403e6f751341b82c65937f14590679 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 24 Jan 2017 20:52:42 +0100 Subject: remove "local" bashism from a few scripts Signed-off-by: Denys Vlasenko --- testsuite/runtest | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'testsuite/runtest') diff --git a/testsuite/runtest b/testsuite/runtest index 51575d926..44f9cd1a1 100755 --- a/testsuite/runtest +++ b/testsuite/runtest @@ -12,12 +12,12 @@ total_failed=0 # Option -e will make testcase stop on the first failed command. run_applet_testcase() { - local applet="$1" - local testcase="$2" + applet="$1" + testcase="$2" - local status=0 - local uc_applet=$(echo "$applet" | tr a-z A-Z) - local testname="$testcase" + status=0 + uc_applet=$(echo "$applet" | tr a-z A-Z) + testname="$testcase" testname="${testname##*/}" # take basename if grep "^# CONFIG_$uc_applet is not set$" "$bindir/.config" >/dev/null; then -- cgit v1.2.3