CVE-2016-0771: tests/dns: Remove dependencies on env variables
[Samba.git] / ctdb / tests / tool / stubby.xpnn.002.sh
blobcc4f38ca009cfb6cf8faaf2eb8e6d7cde2ffe5dd
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, current is 2"
7 setup_nodes <<EOF
8 192.168.20.41
9 192.168.20.42
10 192.168.20.43
11 EOF
13 required_result 0 "PNN:2"
15 simple_test <<EOF
16 NODEMAP
17 0 192.168.20.41 0x0
18 1 192.168.20.42 0x0
19 2 192.168.20.43 0x0 CURRENT
20 EOF