summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAravind Srinivasan <aravind.srinivasan@isilon.com>2010-06-22 10:42:20 -0700
committerTim Prouty <tprouty@samba.org>2010-06-24 08:22:25 -0700
commit7e49a58ab9a66a709ee2a15d40db7c59bf55cbac (patch)
treea8bfe2f074f09bed8e768921f62a3bc6f5b43168 /source4/torture
parent2a0340baa35163d04537b0606f58ab77a1d39108 (diff)
downloadsamba-7e49a58ab9a66a709ee2a15d40db7c59bf55cbac.tar.gz
samba-7e49a58ab9a66a709ee2a15d40db7c59bf55cbac.tar.bz2
samba-7e49a58ab9a66a709ee2a15d40db7c59bf55cbac.zip
s4 torture: Warn on NOT_IMPLEMENTED in addition to NOT_SUPPORTED for RAW-QFILEINFO
Signed-off-by: Tim Prouty <tprouty@samba.org>
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/raw/qfileinfo.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/source4/torture/raw/qfileinfo.c b/source4/torture/raw/qfileinfo.c
index 12897ef499..54f1d127d3 100644
--- a/source4/torture/raw/qfileinfo.c
+++ b/source4/torture/raw/qfileinfo.c
@@ -278,8 +278,10 @@ static bool torture_raw_qfileinfo_internals(struct torture_context *torture,
count++;
}
if (!levels[i].only_paths &&
+ (NT_STATUS_EQUAL(levels[i].fnum_status,
+ NT_STATUS_NOT_SUPPORTED) ||
NT_STATUS_EQUAL(levels[i].fnum_status,
- NT_STATUS_NOT_SUPPORTED)) {
+ NT_STATUS_NOT_IMPLEMENTED))) {
torture_warning(torture, "fnum level %s %s",
levels[i].name,
nt_errstr(levels[i].fnum_status));
@@ -293,8 +295,10 @@ static bool torture_raw_qfileinfo_internals(struct torture_context *torture,
}
} else {
if (!levels[i].only_paths &&
+ (NT_STATUS_EQUAL(levels[i].fnum_status,
+ NT_STATUS_NOT_SUPPORTED) ||
NT_STATUS_EQUAL(levels[i].fnum_status,
- NT_STATUS_NOT_SUPPORTED)) {
+ NT_STATUS_NOT_IMPLEMENTED))) {
torture_warning(torture, "fnum level %s %s",
levels[i].name,
nt_errstr(levels[i].fnum_status));
@@ -302,8 +306,10 @@ static bool torture_raw_qfileinfo_internals(struct torture_context *torture,
}
if (!levels[i].only_handles &&
+ (NT_STATUS_EQUAL(levels[i].fname_status,
+ NT_STATUS_NOT_SUPPORTED) ||
NT_STATUS_EQUAL(levels[i].fname_status,
- NT_STATUS_NOT_SUPPORTED)) {
+ NT_STATUS_NOT_IMPLEMENTED))) {
torture_warning(torture, "fname level %s %s",
levels[i].name,
nt_errstr(levels[i].fname_status));