summaryrefslogtreecommitdiff
path: root/testsuite/runtest
diff options
context:
space:
mode:
authorDenys Vlasenko2017-01-24 20:52:42 +0100
committerDenys Vlasenko2017-01-24 20:52:42 +0100
commitbca4ea8b68403e6f751341b82c65937f14590679 (patch)
tree21c637e653ceaa259599cecf8fb57a9de8ad6172 /testsuite/runtest
parent89193f985bf50af702e0f98a3c86573277c03287 (diff)
downloadbusybox-bca4ea8b68403e6f751341b82c65937f14590679.zip
busybox-bca4ea8b68403e6f751341b82c65937f14590679.tar.gz
remove "local" bashism from a few scripts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/runtest')
-rwxr-xr-xtestsuite/runtest10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/runtest b/testsuite/runtest
index 51575d9..44f9cd1 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