mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
ctdb-tests: Add check for non-lmaster node status in integration tests
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13499 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
77db0b15b5
commit
4b008556d6
@ -341,6 +341,7 @@ node_has_status ()
|
||||
(frozen) fpat='^[[:space:]]+frozen[[:space:]]+1$' ;;
|
||||
(unfrozen) fpat='^[[:space:]]+frozen[[:space:]]+0$' ;;
|
||||
(recovered) rpat='^Recovery mode:RECOVERY \(1\)$' ;;
|
||||
(notlmaster) rpat="^hash:.* lmaster:${pnn}\$" ;;
|
||||
*)
|
||||
echo "node_has_status: unknown status \"$status\""
|
||||
return 1
|
||||
|
Loading…
Reference in New Issue
Block a user