xref: /illumos-gate/usr/src/cmd/smbsrv/testoplock/case06.txt (revision 78801af7286cd73dbc996d470f789e75993cf15d)
1# Input for testoplock, case 06
2# Modeled after smbtorture smb2.lease.nobreakself
3open 1 1
4req 1 0x801
5open 2 2
6req 2 0x801
7# both 1,2 should have R
8show
9# write 1 should leave 1:R 2:none
10brk-write 1
11show
12# upgrade 2 back to R
13open 3 2
14req 3 0x801
15close 3
16# ind_break will "move" the lease to h2 (1:R 2:R)
17req 2 0x801
18show
19# write 2 should leave 1:none 2:R
20brk-write 2
21show
22# write 1 should leave 1:none 2:none
23brk-write 1
24show
25