summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-08-15 15:12:30 +0000
committerAndrew Tridgell <tridge@samba.org>2003-08-15 15:12:30 +0000
commitd0a91f4ef2b41edc95fa5c87ae9416f8a40d3b72 (patch)
treec8284ab94baef7e9fcb01d1b1d449ae5080a38d2 /source4/torture/raw
parent33f413a6bf9435a51732547c386206f6deaefe2c (diff)
downloadsamba-d0a91f4ef2b41edc95fa5c87ae9416f8a40d3b72.tar.gz
samba-d0a91f4ef2b41edc95fa5c87ae9416f8a40d3b72.tar.bz2
samba-d0a91f4ef2b41edc95fa5c87ae9416f8a40d3b72.zip
don't give detailed errors for levels that fail
(This used to be commit 04b60864a67fa320f6de5f1f457b9de9bb46b730)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/qfsinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/raw/qfsinfo.c b/source4/torture/raw/qfsinfo.c
index 274d1073af..4d157383f6 100644
--- a/source4/torture/raw/qfsinfo.c
+++ b/source4/torture/raw/qfsinfo.c
@@ -54,7 +54,8 @@ static union smb_fsinfo *find(const char *name)
{
int i;
for (i=0; levels[i].name; i++) {
- if (strcmp(name, levels[i].name) == 0) {
+ if (strcmp(name, levels[i].name) == 0 &&
+ NT_STATUS_IS_OK(levels[i].status)) {
return &levels[i].fsinfo;
}
}