Latest leases patchset - getting there !

Stefan (metze) Metzmacher metze at samba.org
Mon Nov 17 12:11:38 MST 2014


Hi Jeremy,

can you explain me why you needed to readd this?

I had succuessful autobuilds without this before...

metze

Am 15.11.2014 um 05:18 schrieb Jeremy Allison:
> From f905e89dc94ac08d314693a74655740915dd5d20 Mon Sep 17 00:00:00 2001
> From: Jeremy Allison <jra at samba.org>
> Date: Fri, 14 Nov 2014 09:50:32 -0800
> Subject: [PATCH 1/4] s4: leases tests: Still need to ignore alloc_size.
> 
> Signed-off-by: Jeremy Allison <jra at samba.org>
> ---
>  source4/torture/smb2/lease.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/source4/torture/smb2/lease.c b/source4/torture/smb2/lease.c
> index 221d45c..24c6544 100644
> --- a/source4/torture/smb2/lease.c
> +++ b/source4/torture/smb2/lease.c
> @@ -46,7 +46,9 @@
>  #define CHECK_CREATED(__io, __created, __attribute)			\
>  	do {								\
>  		CHECK_VAL((__io)->out.create_action, NTCREATEX_ACTION_ ## __created); \
> -		CHECK_VAL((__io)->out.alloc_size, 0);			\
> +		if (!TARGET_IS_SAMBA3(tctx)) {                          \
> +			CHECK_VAL((__io)->out.alloc_size, 0);           \
> +		}                                                       \
>  		CHECK_VAL((__io)->out.size, 0);				\
>  		CHECK_VAL((__io)->out.file_attr, (__attribute));	\
>  		CHECK_VAL((__io)->out.reserved2, 0);			\
> -- 1.9.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20141117/a16c8f74/attachment.pgp>


More information about the samba-technical mailing list