mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4:torture:basic: check the return status of the last open in deltest16
Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Aug 9 18:01:50 CEST 2012 on sn-devel-104
This commit is contained in:
parent
2352227b66
commit
f64c970e3e
@ -878,6 +878,8 @@ static bool deltest16(struct torture_context *tctx, struct smbcli_state *cli1, s
|
||||
torture_assert(tctx, fnum1 == -1, talloc_asprintf(tctx, "open of %s succeeded (should fail)",
|
||||
fname));
|
||||
|
||||
CHECK_STATUS(cli1, NT_STATUS_OBJECT_NAME_NOT_FOUND);
|
||||
|
||||
return correct;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user