summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-05-09 13:46:08 +0200
committerVolker Lendecke <vl@samba.org>2009-05-09 14:09:42 +0200
commitefbc4315d22f5b2c255c723dd1a18bbbb0c300b8 (patch)
tree823b3ea61303085a72c4be9162f48d353c9bf998 /source3/torture
parentc291a55a352a8ee09e9e6ac118e3b0c31a9905e8 (diff)
downloadsamba-efbc4315d22f5b2c255c723dd1a18bbbb0c300b8.tar.gz
samba-efbc4315d22f5b2c255c723dd1a18bbbb0c300b8.tar.bz2
samba-efbc4315d22f5b2c255c723dd1a18bbbb0c300b8.zip
Fix the mangle1 test
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 1d46346751..53a39c6999 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));