xref: /illumos-gate/usr/src/cmd/smbsrv/testoplock/case12.txt (revision 1ca4e8df0656724dae6eea0884d84d8d4c1aabb2)
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 none)
24ack 1 0x803
25show
26# got break ind?
27ack 1 0x800
28show
29