git: 914752d0f7f8 - main - praudit: correct test case
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Nov 2024 13:58:03 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=914752d0f7f874ab4fc8393aee28c22df87324f2
commit 914752d0f7f874ab4fc8393aee28c22df87324f2
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-11-04 13:42:00 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-11-04 13:57:13 +0000
praudit: correct test case
The -n flag specifies that user and group IDs should remain numeric, not
be mapped to names. The golden output for praudit -n, however,
contained user and group names.
Reported by: markj
Reviewed by: markj
Fixes: ba10bfe509dc ("libbsm: honour AU_OFLAG_NORESOLVE")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47434
---
usr.sbin/praudit/tests/input/numeric_form | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr.sbin/praudit/tests/input/numeric_form b/usr.sbin/praudit/tests/input/numeric_form
index 09f089450ac3..144be694f2e4 100644
--- a/usr.sbin/praudit/tests/input/numeric_form
+++ b/usr.sbin/praudit/tests/input/numeric_form
@@ -2,6 +2,6 @@ header,113,11,socket(2),0,Mon Jun 11 10:18:45 2018, + 380 msec
argument,1,0x1c,domain
argument,2,0x2,type
argument,3,0x0,protocol
-subject,root,root,wheel,root,wheel,7053,4724,37636,10.0.2.2
+subject,0,0,0,0,0,7053,4724,37636,10.0.2.2
return,success,3
trailer,113