diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-09-16 17:53:36 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-09-16 21:09:17 +1000 |
commit | a394a8104eb2cebdcda44510c6ed86b6f773a06d (patch) | |
tree | 92062dff48df6894327ddccdab7ca07f2d8442bc | |
parent | 4083b8ac6ca9c107e50503f41b66077fb65eb2d9 (diff) | |
download | samba-a394a8104eb2cebdcda44510c6ed86b6f773a06d.tar.gz samba-a394a8104eb2cebdcda44510c6ed86b6f773a06d.tar.bz2 samba-a394a8104eb2cebdcda44510c6ed86b6f773a06d.zip |
torture/raw Allow one more 'not implemented' status return as a valid response
The Samba4 server responds to most ioctl calls with NT_STATUS_NOT_SUPPORTED
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
-rw-r--r-- | source4/torture/raw/ioctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/raw/ioctl.c b/source4/torture/raw/ioctl.c index 99dc039a7f..7692af9ca9 100644 --- a/source4/torture/raw/ioctl.c +++ b/source4/torture/raw/ioctl.c @@ -112,7 +112,8 @@ static bool test_fsctl(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) nt.ntioctl.in.blob.data[1] = 15+1; status = smb_raw_ioctl(cli->tree, mem_ctx, &nt); if (!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_PARAMETER) && - !NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) { + !NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED) && + !NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)) { printf("Got unexpected error code: %s\n", nt_errstr(status)); ret = false; |