summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-07-19 15:33:38 +1000
committerMartin Schwenke <martin@meltin.net>2013-07-22 19:36:58 +1000
commit417ee2f0aa0bfd930b0f7aa36bf83cb22a250c52 (patch)
tree8b0c9b377afea2945c26f651456445e86a8ba49b
parent88ba32b78749caa22177fedc629bc84a057b2ffd (diff)
downloadsamba-417ee2f0aa0bfd930b0f7aa36bf83cb22a250c52.tar.gz
samba-417ee2f0aa0bfd930b0f7aa36bf83cb22a250c52.tar.xz
samba-417ee2f0aa0bfd930b0f7aa36bf83cb22a250c52.zip
tests/simple: Add -p in onnode test to help show groups of connections
Change the command from "true" to "hostname" since the former won't produce any output when used in combination with "onnode -p". This could just be changed to "echo" but the hostname might actually be useful. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit ae3c03d80264e997b7da9f3279d7810e18b8a1df)
-rwxr-xr-xctdb/tests/simple/00_ctdb_onnode.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/simple/00_ctdb_onnode.sh b/ctdb/tests/simple/00_ctdb_onnode.sh
index 0904fdfa79..3bc8f8b2fe 100755
--- a/ctdb/tests/simple/00_ctdb_onnode.sh
+++ b/ctdb/tests/simple/00_ctdb_onnode.sh
@@ -26,7 +26,7 @@ ctdb_test_init "$@"
#
echo "Checking connectivity between nodes..."
-onnode all onnode all true
+onnode all onnode -p all hostname
# We're seeing some weirdness with CTDB controls timing out. We're
# wondering if time is jumping forward, so this creates a time log on