ctdb-tests: Drop use of array in run_tests()
authorMartin Schwenke <martin@meltin.net>
Mon, 9 Sep 2019 05:01:49 +0000 (15:01 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 26 Sep 2019 04:45:37 +0000 (04:45 +0000)
This doesn't accomplish anything.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/run_tests.sh

index f1795fa9e7be1967bd321c7e173bf9baab5182b6..cc97ac4d993a0426647775c8e09fef567a792597 100755 (executable)
@@ -224,11 +224,9 @@ run_one_test ()
 
 run_tests ()
 {
-       local tests=("$@")
-
        local f
 
-       for f in "${tests[@]}" ; do
+       for f ; do
                case "$f" in
                */README|*/README.md)
                        continue