diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2006-08-29 21:01:05 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2006-08-29 21:01:05 +0000 |
commit | adc7305cd4e1016ec7a9f15a0ab1afaa8eb4794d (patch) | |
tree | 32fca7a46d1ddfcdd6892f538c5e41699301b50c /test/test.sh | |
parent | a9bbb04c7f23dec0eece26dc0257a6ee797cab04 (diff) | |
download | wireshark-adc7305cd4e1016ec7a9f15a0ab1afaa8eb4794d.tar.gz wireshark-adc7305cd4e1016ec7a9f15a0ab1afaa8eb4794d.tar.bz2 wireshark-adc7305cd4e1016ec7a9f15a0ab1afaa8eb4794d.zip |
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.sh | 4 |
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 |