summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/tool/func.parse_nodestring.003.sh
blob: 3e03ac40419d338446ee4d6fe4d466b74e09c6f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "all, current disconnected"

required_result 10 <<EOF
DATE TIME [PID]: Unable to get nodemap from local node
EOF

simple_test all true <<EOF
0       192.168.20.41   0x0
1       192.168.20.42   0x0
2       192.168.20.43   0x1     CURRENT RECMASTER
EOF