onnode: update tests for healthy and connected to cope with new stopped bit.
authorMartin Schwenke <martin@meltin.net>
Tue, 28 Jul 2009 06:00:11 +0000 (16:00 +1000)
committerMartin Schwenke <martin@meltin.net>
Tue, 28 Jul 2009 06:00:11 +0000 (16:00 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit bfc926c866e361ab28330747544b268ba130bf30)

ctdb/tools/onnode

index b5f36c876ba7ba1e50baf864570fdd3a7166e65a..e00cd2b1d917feedc4ca2f46214d90df3a0e4349 100755 (executable)
@@ -131,10 +131,10 @@ get_nodes_with_status ()
     local bits
     case "$status" in
        healthy)
-           bits="0:0:0:0"
+           bits="0:0:0:0:0"
            ;;
        connected)
-           bits="0:[0-1]:[0-1]:[0-1]"
+           bits="0:[0-1]:[0-1]:[0-1]:[0-1]"
            ;;
        *)
            invalid_nodespec