Page MenuHomeFreeBSD

tests/sys/audit: fix timeout calculation
ClosedPublic

Authored by arichardson on Jan 28 2021, 9:46 AM.
Tags
None
Referenced Files
F139332436: D28391.id83063.diff
Wed, Dec 10, 10:45 PM
Unknown Object (File)
Thu, Nov 27, 6:44 AM
Unknown Object (File)
Tue, Nov 25, 5:23 PM
Unknown Object (File)
Mon, Nov 24, 6:17 PM
Unknown Object (File)
Nov 9 2025, 3:47 AM
Unknown Object (File)
Nov 4 2025, 1:11 PM
Unknown Object (File)
Nov 4 2025, 1:08 PM
Unknown Object (File)
Nov 4 2025, 1:08 PM
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36564
Build 33453: arc lint + arc unit