From: Jorge Pereira Date: Sun, 10 Oct 2021 11:18:51 +0000 (-0300) Subject: Fix unit_test_attribute to print out the entire path/file when failed (#4259) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ff31e2bcadc81b4d978014b552a34da8d117f3a;p=thirdparty%2Ffreeradius-server.git Fix unit_test_attribute to print out the entire path/file when failed (#4259) --- diff --git a/src/bin/unit_test_attribute.c b/src/bin/unit_test_attribute.c index 9717c671ff9..39c333654bd 100644 --- a/src/bin/unit_test_attribute.c +++ b/src/bin/unit_test_attribute.c @@ -2783,7 +2783,7 @@ static int process_file(bool *exit_now, TALLOC_CTX *ctx, command_config_t const if (!p) { if (!feof(fp)) { - ERROR("Line %d too long in %s", cc->lineno, cc->path); + ERROR("Line %d too long in %s/%s", cc->lineno, cc->path, cc->filename); ret = -1; goto finish; }