diff options
author | Michael Adam <obnox@samba.org> | 2012-08-08 11:55:46 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-08-09 15:25:18 +0200 |
commit | 361429d02ffc1ce90cf5b5e246d2fc0bb765520b (patch) | |
tree | f483e16531da6bd5f39aa26ad440eb7f2cdce646 /source3 | |
parent | 86845064784bf6111049f8991b2385783645b9e4 (diff) | |
download | samba-361429d02ffc1ce90cf5b5e246d2fc0bb765520b.tar.gz samba-361429d02ffc1ce90cf5b5e246d2fc0bb765520b.tar.bz2 samba-361429d02ffc1ce90cf5b5e246d2fc0bb765520b.zip |
s3:torture:delete: untangle function call from result check
Diffstat (limited to 'source3')
-rw-r--r-- | source3/torture/torture.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 1dddf3b1e6..692ae675a4 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -3885,7 +3885,8 @@ static bool run_deletetest(int dummy) goto fail; } - if (NT_STATUS_IS_OK(cli_openx(cli1, fname, O_RDWR, DENY_NONE, &fnum1))) { + status = cli_openx(cli1, fname, O_RDWR, DENY_NONE, &fnum1); + if (NT_STATUS_IS_OK(status)) { printf("[1] open of %s succeeded (should fail)\n", fname); correct = False; goto fail; |