xref: /illumos-gate/usr/src/cmd/smbsrv/testoplock/case12.txt (revision 20a7641f9918de8574b8b3b47dbe35c4bfc78df1)
1# Input for testoplock, case 12
2# simulate smbtorture smb2.lease.breaking3
3#
4open 1 1
5req 1 0x807
6show
7#
8# a conflicting open (no oplock) is blocked until lease break ack
9open 2
10brk-open 2
11waiters 2 1
12show
13# should see lease break RWH to RH, and brk-open would block.
14# now a conflicting open with disp=overwrite(4), no oplock
15open 3
16brk-open 3 4
17waiters 3 2
18show
19# should see break_to_none pending (but no break ind yet)
20# and brk-open shoud block (break in progress)
21#
22# ack the first lease break above (RWH to RH)
23# should get a new break ind. (RH to R) ar=1
24ack 1 0x803
25show
26# ack the second lease break (RH to R)
27# should get a new break ind. (R to none) ar=0
28ack 1 0x801
29show
30