diff options
author | Günther Deschner <gd@samba.org> | 2015-12-03 15:24:12 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-09-28 00:04:17 +0200 |
commit | 2c1075d63b10f7ec5e80e665c33d5642ff407e26 (patch) | |
tree | 4f3756306aa7cbfb48b9da8fac74395b5f117a57 /source4/torture/ndr | |
parent | 70807a42676ef8ba7468c6721687597926fe6f70 (diff) | |
download | samba-2c1075d63b10f7ec5e80e665c33d5642ff407e26.tar.gz |
werror: replace WERR_BADFILE with WERR_FILE_NOT_FOUND in source4/torture/ndr/winreg.c
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture/ndr')
-rw-r--r-- | source4/torture/ndr/winreg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/ndr/winreg.c b/source4/torture/ndr/winreg.c index d77cdb33db1..0eb1a2487ce 100644 --- a/source4/torture/ndr/winreg.c +++ b/source4/torture/ndr/winreg.c @@ -376,7 +376,7 @@ static const uint8_t openkey_out_data[] = { static bool openkey_out_check(struct torture_context *tctx, struct winreg_OpenKey *r) { torture_assert(tctx, GUID_all_zero(&r->out.handle->uuid), "handle"); - torture_assert_werr_equal(tctx, r->out.result, WERR_BADFILE, "return code"); + torture_assert_werr_equal(tctx, r->out.result, WERR_FILE_NOT_FOUND, "return code"); return true; } @@ -402,7 +402,7 @@ static const uint8_t deletekey_out_data[] = { static bool deletekey_out_check(struct torture_context *tctx, struct winreg_DeleteKey *r) { - torture_assert_werr_equal(tctx, r->out.result, WERR_BADFILE, "return code"); + torture_assert_werr_equal(tctx, r->out.result, WERR_FILE_NOT_FOUND, "return code"); return true; } |