Page MenuHomeFreeBSD

tests/libalias: Test LibAliasIn with redirection
ClosedPublic

Authored by donner on May 23 2021, 8:54 PM.
Tags
None
Referenced Files
F174465124: D30408.id89699.diff
Sat, Oct 3, 11:28 AM
F174391048: D30408.id89728.diff
Fri, Oct 2, 9:09 PM
F174389156: D30408.id89724.diff
Fri, Oct 2, 8:55 PM
F174382257: D30408.id89700.diff
Fri, Oct 2, 8:00 PM
F174380337: D30408.id89718.diff
Fri, Oct 2, 7:44 PM
F174372010: D30408.id89721.diff
Fri, Oct 2, 6:30 PM
F174370398: D30408.id89723.diff
Fri, Oct 2, 6:14 PM
F174368931: D30408.id89725.diff
Fri, Oct 2, 5:59 PM

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 39366
Build 36255: 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.