ctdb-server: Use find_public_ip_vnn() in a couple of extra places
[samba4-gss.git] / ctdb / tests / UNIT / tool / ctdb.pstore.001.sh
blob393b5a9891fed0da75f5056908f7b2ca56319ccb
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "persistent store"
7 setup_ctdbd <<EOF
8 NODEMAP
9 0 192.168.20.41 0x0 CURRENT RECMASTER
10 1 192.168.20.42 0x0
11 2 192.168.20.43 0x0
12 EOF
14 ok_null
15 simple_test_other attach "persistent.tdb" persistent
17 ok_null
18 simple_test "persistent.tdb" "key1" "value1"
20 ok "value1"
21 simple_test_other pfetch "persistent.tdb" "key1"
23 ok "0x1"
24 simple_test_other getdbseqnum "persistent.tdb"