wafsamba: fix pidl dependencies to rebuild on pidl changes
[Samba.git] / ctdb / tests / tool / ctdb.deletekey.001.sh
blobf530801bf7fedca650fc695f0d91271b2b337720
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "volatile delete"
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 "volatile.tdb"
17 ok_null
18 simple_test "volatile.tdb" "key1"
20 ok_null
21 simple_test_other writekey "volatile.tdb" "key1" "value1"
23 ok <<EOF
24 Data: size:6 ptr:[value1]
25 EOF
26 simple_test_other readkey "volatile.tdb" "key1"
28 ok_null
29 simple_test "volatile.tdb" "key1"
31 ok <<EOF
32 Data: size:0 ptr:[]
33 EOF
34 simple_test_other readkey "volatile.tdb" "key1"