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)
Fri, Oct 31, 1:14 AM
Unknown Object (File)
Mon, Oct 27, 12:46 PM
Unknown Object (File)
Mon, Oct 20, 12:48 AM
Unknown Object (File)
Fri, Oct 17, 9:51 PM
Unknown Object (File)
Thu, Oct 16, 11:03 AM
Unknown Object (File)
Thu, Oct 16, 11:03 AM
Unknown Object (File)
Thu, Oct 16, 11:03 AM
Unknown Object (File)
Wed, Oct 15, 11:25 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