From: Douglas Bagnall Date: Wed, 18 Mar 2026 03:34:04 +0000 (+1300) Subject: s4:torture: invalid data test expects supplied errcode X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b0cdfc8c0e4e49570a2b71c1e676c5cc520478d1;p=thirdparty%2Fsamba.git s4:torture: invalid data test expects supplied errcode Signed-off-by: Douglas Bagnall Reviewed-by: Jennifer Sutton --- diff --git a/source4/torture/ndr/ndr.c b/source4/torture/ndr/ndr.c index 0faef1ab643..90e0be6e0e4 100644 --- a/source4/torture/ndr/ndr.c +++ b/source4/torture/ndr/ndr.c @@ -330,7 +330,7 @@ static bool wrap_ndr_pull_invalid_data_test(struct torture_context *tctx, torture_assert_ndr_err_equal( tctx, data->pull_fn(ndr, data->ndr_flags, ds), - NDR_ERR_BUFSIZE, + data->ndr_err, "pulling invalid data"); talloc_free(ndr);