summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2022-08-18 09:36:08 +1000
committerAmitay Isaacs <amitay@samba.org>2022-09-16 03:36:32 +0000
commit0e388a1994e0f6715466eba1d3bdd765c36f956f (patch)
treec6fb4ff966734007dc65693395f34f25208bba21 /ctdb
parent4ee0abaece92efd28901801c020cfdf5b80fcadb (diff)
downloadsamba-0e388a1994e0f6715466eba1d3bdd765c36f956f.tar.gz
ctdb-tests: Include eventscript stub commands in shellcheck test
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb')
-rwxr-xr-xctdb/tests/UNIT/shellcheck/tests.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ctdb/tests/UNIT/shellcheck/tests.sh b/ctdb/tests/UNIT/shellcheck/tests.sh
index f01ece7d456..6cc2076a89f 100755
--- a/ctdb/tests/UNIT/shellcheck/tests.sh
+++ b/ctdb/tests/UNIT/shellcheck/tests.sh
@@ -29,3 +29,7 @@ shellcheck_test -s bash \
"${TEST_SCRIPTS_DIR}/integration.bash" \
"${TEST_SCRIPTS_DIR}/integration_local_daemons.bash" \
"${TEST_SCRIPTS_DIR}/integration_real_cluster.bash"
+
+# Test stubs
+shellcheck_test -s sh \
+ "${CTDB_TEST_DIR}/UNIT/eventscripts/stubs/"*