Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2021 22:22:59 GMT
From:      Alex Richardson <arichardson@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 5d89c2e475f2 - stable/13 - tests/sys/audit: add missing comma delimiter between fields
Message-ID:  <202103172222.12HMMxJs045862@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by arichardson:

URL: https://cgit.FreeBSD.org/src/commit/?id=5d89c2e475f2c4d9ff5bab3e229d31c4f2ac950f

commit 5d89c2e475f2c4d9ff5bab3e229d31c4f2ac950f
Author:     Alex Richardson <arichardson@FreeBSD.org>
AuthorDate: 2021-03-02 18:34:42 +0000
Commit:     Alex Richardson <arichardson@FreeBSD.org>
CommitDate: 2021-03-17 22:22:48 +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")
    (cherry picked from commit c97304110a02f9c41b515e7b94d53229ab8f61af)
---
 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;
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103172222.12HMMxJs045862>