Page MenuHomeFreeBSD

tests/libalias: Test LibAliasIn with redirection
ClosedPublic

Authored by donner on May 23 2021, 8:54 PM.
Tags
None
Referenced Files
F164685349: D30408.id89776.diff
Mon, Aug 3, 4:19 AM
F164682339: D30408.id89703.diff
Mon, Aug 3, 3:55 AM
F164678327: D30408.id89775.diff
Mon, Aug 3, 3:23 AM
F164674969: D30408.id89724.diff
Mon, Aug 3, 2:56 AM
F164674925: D30408.id89728.diff
Mon, Aug 3, 2:56 AM
F164671233: D30408.id89718.diff
Mon, Aug 3, 2:28 AM
F164667201: D30408.id89699.diff
Mon, Aug 3, 1:54 AM
F164665594: D30408.id89905.diff
Mon, Aug 3, 1:42 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 39380
Build 36269: 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.