Page MenuHomeFreeBSD

sbin/pfctl: fix tests after recent output changes
ClosedPublic

Authored by arichardson on Feb 4 2021, 4:03 PM.
Tags
None
Referenced Files
F151684725: D28481.id83366.diff
Fri, Apr 10, 12:20 AM
Unknown Object (File)
Sun, Apr 5, 12:12 AM
Unknown Object (File)
Sat, Apr 4, 4:06 AM
Unknown Object (File)
Wed, Mar 25, 9:18 PM
Unknown Object (File)
Wed, Mar 25, 3:02 PM
Unknown Object (File)
Wed, Mar 18, 1:52 AM
Unknown Object (File)
Thu, Mar 12, 9:00 AM
Unknown Object (File)
Feb 28 2026, 10:08 PM
Subscribers

Details

Summary

The output now contains http-alt instead of 8080 and personal-agent
instead of 5555.
This was probably caused by 228e2087a32847fa51168f3f0c58f931cb2cb0f8.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I wonder if we should teach these tests to use only numeric representations for ports (i.e. 'pfctl -P').
That'd remove the dependency on the services file, but we wouldn't test the symbolic name to port number conversion code any more.

This revision is now accepted and ready to land.Feb 4 2021, 4:20 PM