HomeFreeBSD

ktls_tests: Log more details when a test fails.

Description

ktls_tests: Log more details when a test fails.

  • Make use of ATF_REQUIRE_INTEQ to log the values of integers for unexpected mismatches.
  • Use ATF_REQUIRE_MSG in a few more places to log values when a requirement fails.
  • Consistently use ATF_REQUIRE_ERRNO when checking for an expected errno value.

Reviewed by: markj
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D37691

Details

Provenance
jhbAuthored on Dec 15 2022, 8:06 PM
Reviewer
markj
Differential Revision
D37691: ktls_tests: Log more details when a test fails.
Parents
rGb357d40f0818: kdebug_secasv: Update for recent locking changes.
Branches
Unknown
Tags
Unknown