From: Volker Lendecke Date: Sat, 9 May 2009 11:46:08 +0000 (+0200) Subject: Fix the mangle1 test X-Git-Tag: tdb-1.1.5~651 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=efbc4315d22f5b2c255c723dd1a18bbbb0c300b8 Fix the mangle1 test --- diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 1d463467517..53a39c6999a 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -5065,7 +5065,7 @@ static bool run_mangle1(int dummy) cli_sockopt(cli, sockops); - if (NT_STATUS_IS_OK(cli_ntcreate( + if (!NT_STATUS_IS_OK(cli_ntcreate( cli, fname, 0, GENERIC_ALL_ACCESS|DELETE_ACCESS, FILE_ATTRIBUTE_NORMAL, 0, FILE_OVERWRITE_IF, 0, 0, &fnum))) { d_printf("open %s failed: %s\n", fname, cli_errstr(cli));