]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix output format so jump to line works with vscode
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 3 Sep 2022 16:04:58 +0000 (12:04 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 3 Sep 2022 16:04:58 +0000 (12:04 -0400)
src/bin/unit_test_attribute.c

index 94e28a49aee2bbcb5d70af81fde7c5f7f73a6a97..c210e52396c6b7c4e707e5818a7c998a135811c7 100644 (file)
@@ -337,7 +337,7 @@ static void mismatch_print(command_file_ctx_t *cc, char const *command,
        char *g, *e;
        char *spaces;
 
-       ERROR("%s failed at line %d of %s/%s", command, cc->lineno, cc->path, cc->filename);
+       ERROR("%s failed %s/%s:%d", command, cc->path, cc->filename, cc->lineno);
        ERROR("  got      : %.*s", (int) got_len, got);
        ERROR("  expected : %.*s", (int) expected_len, expected);