From: Jorge Pereira Date: Tue, 5 Nov 2019 23:23:16 +0000 (-0300) Subject: Helpful to print the fullpath of unit test (#3103) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdc7c02d314c6ea11981f1cf6a9beed0f38395d8;p=thirdparty%2Ffreeradius-server.git Helpful to print the fullpath of unit test (#3103) --- diff --git a/src/bin/unit_test_attribute.c b/src/bin/unit_test_attribute.c index 50bb5e302c8..56d012ea11b 100644 --- a/src/bin/unit_test_attribute.c +++ b/src/bin/unit_test_attribute.c @@ -219,7 +219,7 @@ static void mismatch_print(command_ctx_t *cc, char const *command, char *g, *e; char *spaces; - ERROR("%s failed at line %d of %s", command, cc->lineno, cc->path); + ERROR("%s failed at line %d of %s/%s", command, cc->lineno, cc->path, cc->filename); ERROR(" got : %.*s", (int) got_len, got); ERROR(" expected : %.*s", (int) expected_len, expected);