Test suite: handle change to disconnected node error message.
authorMartin Schwenke <martin@meltin.net>
Mon, 7 Jun 2010 02:29:31 +0000 (12:29 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 30 Jul 2010 06:49:51 +0000 (16:49 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 20ea31e4ed893eb58cb2efa0b6fb13bcf4031918)

ctdb/tests/simple/26_ctdb_config_check_error_on_unreachable_ctdb.sh

index 5c5298a86aa7ff231e4be5e8e1cf8c9432b362d8..da5a49b67eff2d9dd361d72c1dadd47324515c21 100755 (executable)
@@ -54,7 +54,7 @@ try_command_on_node $test_node $CTDB shutdown
 
 wait_until_node_has_status $test_node disconnected
 
-pat="ctdb_control error: 'ctdb_control to disconnected node'|Node $test_node is DISCONNECTED"
+pat="ctdb_control error: 'ctdb_control to disconnected node'|ctdb_control error: 'node is disconnected'|Node $test_node is DISCONNECTED"
 
 for i in ip disable enable "ban 0" unban listvars ; do
     try_command_on_node -v 0 ! $CTDB $i -n $test_node