git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
618d3dd
)
s3-torture: Remove (incorrect) samba3-specific behavior in samba3.raw.unlink now...
author
Jeremy Allison
<jra@samba.org>
Tue, 20 Oct 2015 19:31:03 +0000
(12:31 -0700)
committer
Andreas Schneider
<asn@cryptomilk.org>
Wed, 21 Oct 2015 06:25:26 +0000
(08:25 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11452
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/torture/raw/unlink.c
patch
|
blob
|
history
diff --git
a/source4/torture/raw/unlink.c
b/source4/torture/raw/unlink.c
index 25edb5e045d920cdc27efff339402622d5229dd0..4f198fa27595ec0ac81a6b33359e983fb18072d0 100644
(file)
--- a/
source4/torture/raw/unlink.c
+++ b/
source4/torture/raw/unlink.c
@@
-178,12
+178,7
@@
static bool test_unlink(struct torture_context *tctx, struct smbcli_state *cli)
io.unlink.in.pattern = BASEDIR "\\*.tx?";
io.unlink.in.attrib = 0;
status = smb_raw_unlink(cli->tree, &io);
- if (torture_setting_bool(tctx, "samba3", false)) {
- CHECK_STATUS(status, NT_STATUS_NO_SUCH_FILE);
- }
- else {
- CHECK_STATUS(status, NT_STATUS_OK);
- }
+ CHECK_STATUS(status, NT_STATUS_OK);
status = smb_raw_unlink(cli->tree, &io);
CHECK_STATUS(status, NT_STATUS_NO_SUCH_FILE);