git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
registry: Avoid mapping registry return codes: return the right value in the first...
[samba.git]
/
source4
/
lib
/
registry
/
tests
/
registry.c
diff --git
a/source4/lib/registry/tests/registry.c
b/source4/lib/registry/tests/registry.c
index 59e31f55dc15415b13c6d681080abe59b7ae1421..06783e6a75676afec31bdac0ce0fcacaf769c01f 100644
(file)
--- 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;
}