mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
s3-torture: Remove (incorrect) samba3-specific behavior in samba3.raw.unlink now the server is correct
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> (cherry picked from commit e4054f211872168ac4cf022e2d961e8979610920)
This commit is contained in:
parent
4110956c27
commit
5f1fb6178a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user