]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tests: Avoid shellcheck warning SC2034
authorMartin Schwenke <martin@meltin.net>
Mon, 5 Aug 2019 00:22:36 +0000 (10:22 +1000)
committerAmitay Isaacs <amitay@samba.org>
Wed, 14 Aug 2019 09:11:35 +0000 (09:11 +0000)
SC2034 summary appears unused. Verify use (or export if used externally)

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

index aecf78590b3d3d0e68b765487bd251a488f5a1b3..4934783ff9a863ab6956670e84897a870e174876 100755 (executable)
@@ -18,6 +18,7 @@ export TEST_SCRIPTS_DIR="${CTDB_TEST_DIR}/scripts"
 # to be correctly set so setup_ctdb_base() finds the etc-ctdb/
 # subdirectory and the test event script is correctly installed, so
 # fix it.
+# shellcheck disable=SC2034
 TEST_SUBDIR="$CTDB_TEST_DIR"
 
 if ! $CTDB_TESTS_ARE_INSTALLED ; then
index faaac10ad61c424ea23ecafa96afef5d6c7b792e..e0e399ca9fa5fb3c6b069ccb7d4acf8975bbcc5e 100755 (executable)
@@ -153,7 +153,6 @@ ctdb_test_run ()
 tests_total=0
 tests_passed=0
 tests_failed=0
-summary=""
 
 if ! type mktemp >/dev/null 2>&1 ; then
     # Not perfect, but it will do...