ctdb-tests: Fix name of the variable representing init script
authorAmitay Isaacs <amitay@gmail.com>
Mon, 16 Jan 2017 09:54:59 +0000 (20:54 +1100)
committerMartin Schwenke <martins@samba.org>
Mon, 16 Jan 2017 14:46:42 +0000 (15:46 +0100)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Mon Jan 16 15:46:42 CET 2017 on sn-devel-144

ctdb/tests/scripts/script_install_paths.sh
ctdb/tests/shellcheck/init_script.sh

index bbf6f9e66e20991cf0cf9f96e548bb5fc62be01c..f9da3eba5b5867e787da799e0e1e6b6515dd15dc 100644 (file)
@@ -17,5 +17,5 @@ else
        CTDB_SCRIPTS_TOOLS_HELPER_DIR="/usr/local/libexec/ctdb"
 fi
 
-export CTDB_SCRIPTS_BASE CTDB_SCRIPTS_BIN_DIR CTDB_SCRIPTS_INIT_DIR \
+export CTDB_SCRIPTS_BASE CTDB_SCRIPTS_BIN_DIR CTDB_SCRIPTS_INIT_SCRIPT \
        CTDB_SCRIPTS_SBIN_DIR CTDB_SCRIPTS_TOOLS_HELPER_DIR
index d1b5151646ca94cfc2e8213cf7672747a3548939..148f6d7a4ff6bdae42713a0ee91a80b514f609c9 100755 (executable)
@@ -4,7 +4,7 @@
 
 define_test "init script"
 
-script="$CTDB_SCRIPTS_INIT_DIR"
+script="$CTDB_SCRIPTS_INIT_SCRIPT"
 
 if [ -z "$script" ] ; then
        script="/etc/init.d/ctdb"