Test suite: make addip test use $CTDB rather than ctdb in debug code.
authorMartin Schwenke <martin@meltin.net>
Wed, 11 Aug 2010 06:55:33 +0000 (16:55 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 11 Aug 2010 06:55:33 +0000 (16:55 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/simple/16_ctdb_config_add_ip.sh

index 6fee386d084b333dc738ccd17c354e17203f52f3..3207661f16d82eeceb7ca04cb914377d3765703d 100755 (executable)
@@ -115,6 +115,6 @@ if wait_until 60 ips_are_on_nodeglob $test_node ${add_ip%/*} ; then
     echo "That worked!"
 else
     echo "BAD: IP didn't get added."
-    try_command_on_node $test_node ctdb ip -n all
+    try_command_on_node $test_node $CTDB ip -n all
     exit 1
 fi