Skip to content

Commit f690472

Browse files
committed
test(stdlib): remove comments from tests
1 parent 4c9da9b commit f690472

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/stdlib/parse_auditd.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,6 @@ mod tests {
317317
tdef: type_def(),
318318
}
319319

320-
// TODO: anonymize all those tests cases with random values while keeping actual syntax
321-
// TODO: include this in examples
322320
syscall {
323321
args: func_args![ value: format!(r#"type=SYSCALL msg=audit(1724423274.618:6439): arch=c000003e syscall=59 success=yes exit=0 a0=123456789abcdef a1=123456789abcdef a2=123456789abcdef a3=123456789abcdef items=2 ppid=1240241 pid=1240242 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 ses=1 comm="whoami" exe="/usr/bin/whoami" key=(null){}ARCH=x86_64 SYSCALL=execve AUID="vrl" UID="root" GID="root" EUID="root" SUID="root" FSUID="root" EGID="root" SGID="root" FSGID="root""#,
324322
ENRICHMENT_SEPARATOR) ],
@@ -370,7 +368,6 @@ mod tests {
370368
tdef: type_def(),
371369
}
372370

373-
// TODO: include this different types (denied Array) in examples
374371
avc_denied {
375372
args: func_args![value: r#"type=AVC msg=audit(1724423274.618:6439): avc: denied { setuid setuid2 setuid3 } for pid=1240242 comm="vrl" capability=7 scontext=system_u:system_r:auditd_t:s0 tcontext=system_u:system_r:auditd_t:s0 tclass=capability permissive=1"#],
376373
want: Ok(btreemap! {

0 commit comments

Comments
 (0)