Page MenuHomeFreeBSD

tests/libalias: Test LibAliasIn with redirection
ClosedPublic

Authored by donner on May 23 2021, 8:54 PM.
Tags
None
Referenced Files
F115145771: D30408.id89699.diff
Sun, Apr 20, 10:07 PM
Unknown Object (File)
Sat, Apr 12, 1:42 PM
Unknown Object (File)
Thu, Apr 10, 5:28 AM
Unknown Object (File)
Tue, Apr 1, 3:00 AM
Unknown Object (File)
Wed, Mar 26, 9:59 AM
Unknown Object (File)
Sun, Mar 23, 12:32 AM
Unknown Object (File)
Mar 14 2025, 9:27 AM
Unknown Object (File)
Mar 12 2025, 9:55 AM

Details

Summary

Extend the test suite for libalias(3) to incoming connections.
Test the various types of redirections.

Test Plan

make test

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39413
Build 36302: arc lint + arc unit

Event Timeline

Factor out the common test infrastructure and start with the first test.

  • Clear state instead of choosing new flows
  • Add final variant of PortRedirect
  • test overlapping portforwardings
  • Clear state instead of choosing new flows
  • Add final variant of PortRedirect
  • test overlapping portforwardings
  • Refactor UDP tests

Rebase to D30412

  • Add test for change of alias address
  • Apply missing refactors
  • Add tests for LibAliasRedirectAddr
  • Add test for LibAliasRedirectDynamic
  • Add copyright statement
This revision was not accepted when it landed; it landed in state Needs Review.May 26 2021, 2:23 PM
This revision was automatically updated to reflect the committed changes.