smbtorture: Directory Leases vs renaming
commitb59a8331079fe28e667da937c968f7708c23ac87
authorRalph Boehme <slow@samba.org>
Mon, 9 Sep 2024 14:03:59 +0000 (9 16:03 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 5 Nov 2024 14:39:31 +0000 (5 14:39 +0000)
tree105a6af1fd9030969df4e1526f5b48c2c5c540cf
parentf95867e8f54800b62caec5a55c3e4b81c99ecfeb
smbtorture: Directory Leases vs renaming

Note that we must use defines for the DLEASE* values, as declaring them as const
int triggers a CI failure on one of the runners (opensuse155-samba-o3) likely
due to a bug in its gcc version:

  ../../source4/torture/smb2/lease.c:6242:22: error: initializer element is not constant
     .srcdir_leasekey = DLEASE1,
                        ^~~~~~~

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/torture/smb2/lease.c