aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/audit
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2021-03-02 18:34:42 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2021-03-02 18:37:12 +0000
commitc97304110a02f9c41b515e7b94d53229ab8f61af (patch)
tree3f360ac4d79a783b0859d3eec5906119970f2b97 /tests/sys/audit
parent53a535c1d80a2e5ea33a4e8807647e600402b1d8 (diff)
downloadsrc-c97304110a02f9c41b515e7b94d53229ab8f61af.tar.gz
src-c97304110a02f9c41b515e7b94d53229ab8f61af.zip
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")
Diffstat (limited to 'tests/sys/audit')
-rw-r--r--tests/sys/audit/utils.c1
1 files changed, 1 insertions, 0 deletions
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;
}