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)
Sun, Apr 7, 3:35 AM
Unknown Object (File)
Feb 29 2024, 8:05 PM
Unknown Object (File)
Feb 7 2024, 3:58 AM
Unknown Object (File)
Dec 20 2023, 7:15 AM
Unknown Object (File)
Dec 14 2023, 8:14 PM
Unknown Object (File)
Dec 1 2023, 8:48 AM
Unknown Object (File)
Sep 3 2023, 10:00 AM
Unknown Object (File)
Sep 3 2023, 9:58 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