aboutsummaryrefslogtreecommitdiffstats
path: root/test/test.sh
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-08-29 21:01:05 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-08-29 21:01:05 +0000
commitadc7305cd4e1016ec7a9f15a0ab1afaa8eb4794d (patch)
tree32fca7a46d1ddfcdd6892f538c5e41699301b50c /test/test.sh
parenta9bbb04c7f23dec0eece26dc0257a6ee797cab04 (diff)
use unique variable names to prevent "global variable" side effects -> endless repeating tests of subsections
svn path=/trunk/; revision=19077
Diffstat (limited to 'test/test.sh')
-rw-r--r--test/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.sh b/test/test.sh
index 01278fbef0..c31dba8662 100644
--- a/test/test.sh
+++ b/test/test.sh
@@ -111,8 +111,8 @@ do
exit 0
;;
"T" | "t" | "")
-LIMIT=1
-for ((a=1; a <= LIMIT ; a++)) # Double parentheses, and "LIMIT" with no "$".
+LIMIT_RUNS=1
+for ((a_runs=1; a_runs <= LIMIT_RUNS ; a_runs++)) # Double parentheses, and "LIMIT" with no "$".
do
test_suite_run "${menu_title[MENU_LEVEL]}" "${menu_function[MENU_LEVEL]}"
done