1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/ctdb/tests/scripts
Martin Schwenke db37043bc5 ctdb-scripts: Avoid ShellCheck warning SC2295
For example:

In /home/martins/samba/samba/ctdb/tools/onnode line 304:
    [ "$nodes" != "${nodes%[ ${nl}]*}" ] && verbose=true
                             ^---^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

Did you mean:
    [ "$nodes" != "${nodes%[ "${nl}"]*}" ] && verbose=true

For more information:
  https://www.shellcheck.net/wiki/SC2295 -- Expansions inside ${..} need to b...

Who knew?  Thanks ShellCheck!

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2022-07-22 16:09:31 +00:00
..
cluster.bash ctdb-tests: Add cluster.bash include file 2019-10-04 09:41:28 +00:00
common.sh ctdb-tests: Add function ctdb_test_check_supported_OS 2020-03-10 07:37:34 +00:00
integration_local_daemons.bash ctdb-tests: Dump logs on shutdown failure 2020-02-18 02:56:38 +00:00
integration_real_cluster.bash ctdb-tests: Rationalise node stop/start/restart 2020-02-18 02:56:38 +00:00
integration.bash ctdb-scripts: Avoid ShellCheck warning SC2295 2022-07-22 16:09:31 +00:00
script_install_paths.sh ctdb-tests: Use $PWD/bin/ if it exists when running in-tree 2020-02-10 04:07:39 +00:00
test_wrap ctdb-tests: Use "#!/usr/bin/env bash" for improved portability 2020-07-22 07:53:35 +00:00
unit.sh ctdb-tests: Add function test_case(), tweak unit test header format 2022-04-06 06:34:37 +00:00