tools/ctdb: Pass memory context for returning nodes in parse_nodestring
[Samba/wip.git] / ctdb / libctdb / test / tests / lockrecord2.txt
blob6ad27fda16089a19d2db6c4ef71ba8b642c34a75
1 connect
2 # This is just a sanity check
3 expect attachdb attached: 1
4 attachdb test.tdb false
5 # This is just a sanity check
6 expect readrecordlock lock 1: data ''
7 readrecordlock 1 testkey
8 writerecord 1 1 test-contents
9 releaselock 1 1
11 expect readrecordlock lock 2: data 'test-contents'
12 readrecordlock 1 testkey
13 releaselock 1 2