summaryrefslogtreecommitdiff
path: root/ctdb/tests/INTEGRATION/simple
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2019-12-11 18:54:42 +1100
committerAmitay Isaacs <amitay@samba.org>2020-02-12 03:11:39 +0000
commita6d464aa2ea9d7633581ace6834bce8b06f2bd70 (patch)
treead529270c9839b0b0bb6ef420a5aaa44d789793d /ctdb/tests/INTEGRATION/simple
parentb9f23f5b49cc2a541c53703c509b70583bc346b4 (diff)
downloadsamba-a6d464aa2ea9d7633581ace6834bce8b06f2bd70.tar.gz
ctdb-tests: Use a here document to improve readability
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/tests/INTEGRATION/simple')
-rwxr-xr-xctdb/tests/INTEGRATION/simple/eventscripts.090.debug_hung.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/ctdb/tests/INTEGRATION/simple/eventscripts.090.debug_hung.sh b/ctdb/tests/INTEGRATION/simple/eventscripts.090.debug_hung.sh
index 2f3ce75f74e..e77c3987bc8 100755
--- a/ctdb/tests/INTEGRATION/simple/eventscripts.090.debug_hung.sh
+++ b/ctdb/tests/INTEGRATION/simple/eventscripts.090.debug_hung.sh
@@ -38,11 +38,12 @@ ctdb_test_exit_hook_add "onnode $test_node rm -f $script_options"
debug_output="${ctdb_base}/debug-hung-script.log"
ctdb_test_exit_hook_add "onnode $test_node rm -f $debug_output"
-try_command_on_node -i $test_node tee "$script_options" <<<"\
+try_command_on_node -i "$test_node" tee "$script_options" <<EOF
CTDB_RUN_TIMEOUT_MONITOR=yes
-CTDB_DEBUG_HUNG_SCRIPT_LOGFILE=\"$debug_output\"
+CTDB_DEBUG_HUNG_SCRIPT_LOGFILE='$debug_output'
CTDB_DEBUG_HUNG_SCRIPT_STACKPAT='exportfs|rpcinfo|sleep'
-CTDB_SCRIPT_VARDIR=\"$ctdb_base\""
+CTDB_SCRIPT_VARDIR='$ctdb_base'
+EOF
####################