forked from osmocom/wireshark
use unique variable names to prevent "global variable" side effects -> endless repeating tests of subsections
svn path=/trunk/; revision=19077
This commit is contained in:
parent
a9bbb04c7f
commit
adc7305cd4
|
@ -58,9 +58,9 @@ TEST_STEP_POST_CB=
|
||||||
|
|
||||||
# level number of this test item (suite or step)
|
# level number of this test item (suite or step)
|
||||||
test_level() {
|
test_level() {
|
||||||
LIMIT=100
|
LIMIT_LEVEL=100
|
||||||
|
|
||||||
for ((a=0; a <= LIMIT ; a++))
|
for ((a=0; a <= LIMIT_LEVEL ; a++))
|
||||||
do
|
do
|
||||||
if [ ! $a -eq 0 ]; then
|
if [ ! $a -eq 0 ]; then
|
||||||
echo -n "."
|
echo -n "."
|
||||||
|
|
|
@ -111,8 +111,8 @@ do
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
"T" | "t" | "")
|
"T" | "t" | "")
|
||||||
LIMIT=1
|
LIMIT_RUNS=1
|
||||||
for ((a=1; a <= LIMIT ; a++)) # Double parentheses, and "LIMIT" with no "$".
|
for ((a_runs=1; a_runs <= LIMIT_RUNS ; a_runs++)) # Double parentheses, and "LIMIT" with no "$".
|
||||||
do
|
do
|
||||||
test_suite_run "${menu_title[MENU_LEVEL]}" "${menu_function[MENU_LEVEL]}"
|
test_suite_run "${menu_title[MENU_LEVEL]}" "${menu_function[MENU_LEVEL]}"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue