]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
print out the strings we have, too
authorAlan T. DeKok <aland@freeradius.org>
Thu, 2 Sep 2021 15:33:26 +0000 (11:33 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 2 Sep 2021 15:33:26 +0000 (11:33 -0400)
src/bin/unit_test_attribute.c

index 1361a3364b0c02c74908f9b7e8d2adb16880ac2b..7e793d6cb46a177d1b44bc5f8423b10df1350452 100644 (file)
@@ -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();