diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/runtest | 10 |
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 |