onnode: update tests for healthy and connected to cope with new stopped bit.
[ctdb.git] / 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