diff --git a/ctdb/tests/local_daemons.sh b/ctdb/tests/local_daemons.sh index aecf78590b3..4934783ff9a 100755 --- a/ctdb/tests/local_daemons.sh +++ b/ctdb/tests/local_daemons.sh @@ -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 diff --git a/ctdb/tests/run_tests.sh b/ctdb/tests/run_tests.sh index faaac10ad61..e0e399ca9fa 100755 --- a/ctdb/tests/run_tests.sh +++ b/ctdb/tests/run_tests.sh @@ -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...