Page MenuHomeFreeBSD

tests/sys/audit: fix timeout calculation
ClosedPublic

Authored by arichardson on Jan 28 2021, 9:46 AM.
Tags
None
Referenced Files
F163743234: D28391.diff
Sat, Jul 25, 7:14 PM
Unknown Object (File)
Sat, Jul 18, 6:19 AM
Unknown Object (File)
Tue, Jul 14, 1:16 PM
Unknown Object (File)
Fri, Jul 10, 3:50 PM
Unknown Object (File)
Jun 24 2026, 1:34 AM
Unknown Object (File)
Jun 19 2026, 11:30 PM
Unknown Object (File)
Jun 12 2026, 3:58 AM
Unknown Object (File)
Jun 12 2026, 1:27 AM
Subscribers
None

Details

Summary

This changes the behaviour to a 30s total timeout (needed when running
on slow emulated uniprocessor systems) and timing out after 10s without
any input.
This also uses timespecsub() instead of ignoring the nanoseconds field.

Test Plan

Runs more reliably on QEMU and times out less regularly

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable