mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
ctdb-tests: Avoid shellcheck warning SC2034
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>
This commit is contained in:
parent
b198de03dc
commit
7d95cb22a4
@ -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
|
||||
|
@ -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...
|
||||
|
Loading…
Reference in New Issue
Block a user