git: c97304110a02 - main - tests/sys/audit: add missing comma delimiter between fields
Alex Richardson
arichardson at FreeBSD.org
Tue Mar 2 18:38:24 UTC 2021
The branch main has been updated by arichardson:
URL: https://cgit.FreeBSD.org/src/commit/?id=c97304110a02f9c41b515e7b94d53229ab8f61af
commit c97304110a02f9c41b515e7b94d53229ab8f61af
Author: Alex Richardson <arichardson at FreeBSD.org>
AuthorDate: 2021-03-02 18:34:42 +0000
Commit: Alex Richardson <arichardson at FreeBSD.org>
CommitDate: 2021-03-02 18:37:12 +0000
tests/sys/audit: add missing comma delimiter between fields
This makes the `kyua report --verbose` output a lot easier to parse when
looking at failed tests. It also fixes the closefrom() test since I
tested my changes with this commit but forgot to push it together with
fa32350347b4e351a144b5423f0fb2ca9d67f4ca.
Fixes: fa32350347b4 ("close_range: add audit support")
---
tests/sys/audit/utils.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/sys/audit/utils.c b/tests/sys/audit/utils.c
index e94279ff93bf..7b0c3445c253 100644
--- a/tests/sys/audit/utils.c
+++ b/tests/sys/audit/utils.c
@@ -79,6 +79,7 @@ get_records(const char *auditregex, FILE *pipestream)
/* Print the tokens as they are obtained, in the default form */
au_print_flags_tok(memstream, &token, del, AU_OFLAG_NONE);
+ fputc(',', memstream);
bytes += token.len;
}
More information about the dev-commits-src-all
mailing list