tests/simple: Add -p in onnode test to help show groups of connections
authorMartin Schwenke <martin@meltin.net>
Fri, 19 Jul 2013 05:33:38 +0000 (15:33 +1000)
committerMartin Schwenke <martin@meltin.net>
Mon, 22 Jul 2013 09:36:58 +0000 (19:36 +1000)
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>
tests/simple/00_ctdb_onnode.sh

index 0904fdfa79626c6795f1c9e86404d51564cb1ccd..3bc8f8b2fee0e60d76c07724af62441b6cc0472a 100755 (executable)
@@ -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