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
Unknown Object (File)
Thu, Oct 2, 2:30 PM
Unknown Object (File)
Mon, Sep 22, 10:32 AM
Unknown Object (File)
Fri, Sep 19, 12:47 AM
Unknown Object (File)
Sep 6 2025, 11:47 AM
Unknown Object (File)
Sep 4 2025, 12:33 PM
Unknown Object (File)
Sep 2 2025, 4:50 AM
Unknown Object (File)
Aug 25 2025, 7:27 AM
Unknown Object (File)
Aug 14 2025, 6:26 AM
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