From: Alan T. DeKok Date: Thu, 2 Sep 2021 15:33:26 +0000 (-0400) Subject: print out the strings we have, too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53b3caddcacce40953dfa1939c3136b8663574d7;p=thirdparty%2Ffreeradius-server.git print out the strings we have, too --- diff --git a/src/bin/unit_test_attribute.c b/src/bin/unit_test_attribute.c index 1361a3364b0..7e793d6cb46 100644 --- a/src/bin/unit_test_attribute.c +++ b/src/bin/unit_test_attribute.c @@ -2272,8 +2272,8 @@ static size_t command_value_box_normalise(command_result_t *result, UNUSED comma */ if (fr_value_box_cmp(box, box2) != 0) { fr_strerror_const("ERROR value box reparsing failed. Results not identical"); - fr_strerror_printf_push("out: %pV", box2); - fr_strerror_printf_push("in: %pV", box); + fr_strerror_printf_push("out: %pV (as string %.*s)", box2, (int) slen, data); + fr_strerror_printf_push("in: %pV (from string %s)", box, p); talloc_free(box2); talloc_free(box); RETURN_OK_WITH_ERROR();