summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-18 03:00:00 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-18 03:42:00 +0100
commitb5ba4910120e5350e48927cc0f5f06742ee02eb8 (patch)
tree9928db273316426ededaafe44b19195420ee7c80 /source4/lib/registry/tests
parente490415e2e300452e152373eb79fb437fb11449d (diff)
downloadsamba-b5ba4910120e5350e48927cc0f5f06742ee02eb8.tar.gz
samba-b5ba4910120e5350e48927cc0f5f06742ee02eb8.tar.bz2
samba-b5ba4910120e5350e48927cc0f5f06742ee02eb8.zip
registry: Avoid mapping registry return codes: return the right value in the first place.
(This used to be commit 434e4857cec17d6d9e8983e151c170eed59fc6d1)
Diffstat (limited to 'source4/lib/registry/tests')
-rw-r--r--source4/lib/registry/tests/registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/tests/registry.c b/source4/lib/registry/tests/registry.c
index 59e31f55dc..06783e6a75 100644
--- a/source4/lib/registry/tests/registry.c
+++ b/source4/lib/registry/tests/registry.c
@@ -53,7 +53,7 @@ static bool test_get_predefined_unknown(struct torture_context *tctx,
WERROR error;
error = reg_get_predefined_key(rctx, 1337, &root);
- torture_assert_werr_equal(tctx, error, WERR_NOT_FOUND,
+ torture_assert_werr_equal(tctx, error, WERR_BADFILE,
"getting predefined key failed");
return true;
}