]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix unit_test_attribute to print out the entire path/file when failed (#4259)
authorJorge Pereira <jpereira@users.noreply.github.com>
Sun, 10 Oct 2021 11:18:51 +0000 (08:18 -0300)
committerGitHub <noreply@github.com>
Sun, 10 Oct 2021 11:18:51 +0000 (07:18 -0400)
src/bin/unit_test_attribute.c

index 9717c671ff9701207b452433894abad11283cefe..39c333654bd4e2a1cabc95879c2cd76e1525facf 100644 (file)
@@ -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;
                        }