git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ee0aba
)
ctdb-tests: Include eventscript stub commands in shellcheck test
author
Martin Schwenke
<martin@meltin.net>
Wed, 17 Aug 2022 23:36:08 +0000
(09:36 +1000)
committer
Amitay Isaacs
<amitay@samba.org>
Fri, 16 Sep 2022 03:36:32 +0000
(
03:36
+0000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/UNIT/shellcheck/tests.sh
patch
|
blob
|
history
diff --git
a/ctdb/tests/UNIT/shellcheck/tests.sh
b/ctdb/tests/UNIT/shellcheck/tests.sh
index f01ece7d456de5e41eb627eccc69a25350c096e1..6cc2076a89f40441bb73f1b57132ace7c1c1b884 100755
(executable)
--- 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/"*