mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
f02e097485
The following command names are changed: recmaster -> leader setrecmasterrole -> setleaderrole Command output changed for the following commands: status getcapabilities Documentation and tests are updated to reflect these changes. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
20 lines
278 B
Bash
Executable File
20 lines
278 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "3 nodes, all ok"
|
|
|
|
setup_ctdbd <<EOF
|
|
NODEMAP
|
|
0 192.168.20.41 0x0 CURRENT RECMASTER
|
|
1 192.168.20.42 0x0
|
|
2 192.168.20.43 0x0
|
|
EOF
|
|
|
|
required_result 0 <<EOF
|
|
LEADER: YES
|
|
LMASTER: YES
|
|
EOF
|
|
|
|
simple_test
|