aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-01-24 20:52:42 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-01-24 20:52:42 +0100
commitbca4ea8b68403e6f751341b82c65937f14590679 (patch)
tree21c637e653ceaa259599cecf8fb57a9de8ad6172 /testsuite
parent89193f985bf50af702e0f98a3c86573277c03287 (diff)
downloadbusybox-w32-bca4ea8b68403e6f751341b82c65937f14590679.tar.gz
busybox-w32-bca4ea8b68403e6f751341b82c65937f14590679.tar.bz2
busybox-w32-bca4ea8b68403e6f751341b82c65937f14590679.zip
remove "local" bashism from a few scripts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/runtest10
1 files changed, 5 insertions, 5 deletions
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
12# Option -e will make testcase stop on the first failed command. 12# Option -e will make testcase stop on the first failed command.
13run_applet_testcase() 13run_applet_testcase()
14{ 14{
15 local applet="$1" 15 applet="$1"
16 local testcase="$2" 16 testcase="$2"
17 17
18 local status=0 18 status=0
19 local uc_applet=$(echo "$applet" | tr a-z A-Z) 19 uc_applet=$(echo "$applet" | tr a-z A-Z)
20 local testname="$testcase" 20 testname="$testcase"
21 21
22 testname="${testname##*/}" # take basename 22 testname="${testname##*/}" # take basename
23 if grep "^# CONFIG_$uc_applet is not set$" "$bindir/.config" >/dev/null; then 23 if grep "^# CONFIG_$uc_applet is not set$" "$bindir/.config" >/dev/null; then