1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00
samba-mirror/ctdb/tests/tool/func.parse_nodestring.002.sh
Martin Schwenke 006b18dec4 tests/tool - Restructure according to new convention
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 89571585d87b391ff79647cd1f0f6ac193079e72)
2012-04-16 15:06:48 +10:00

17 lines
305 B
Bash
Executable File

#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "all, dd_ok, 2 ok/1 disconnected"
required_result <<EOF
NODES: 0 1 2
PNN MODE: BROADCAST_ALL (4026531842)
EOF
simple_test all true <<EOF
0 192.168.20.41 0x0
1 192.168.20.42 0x1
2 192.168.20.43 0x0 CURRENT RECMASTER
EOF