]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pfctl tests: Test fairq configuration
authorKristof Provost <kp@FreeBSD.org>
Wed, 19 May 2021 07:52:50 +0000 (09:52 +0200)
committerKristof Provost <kp@FreeBSD.org>
Thu, 27 May 2021 10:09:04 +0000 (12:09 +0200)
commit1f22359d3ff22fe919cf3965eb32ece5de1be3c1
treeb09b445e1b923b1e6184b225e3816507efb54126
parentb0829ddddb86931a623d6c701b85ecbc3b36bba9
pfctl tests: Test fairq configuration

We used to have a bug where pfctl could crash setting fairq queues. Test
this case and ensure it does not crash pfctl.

Reviewed by: donner
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D30348

(cherry picked from commit 9938fcaa6565a660c555a0e9c712842ba1a2d31c)
sbin/pfctl/tests/files/pf1006.in [new file with mode: 0644]
sbin/pfctl/tests/files/pf1006.ok [new file with mode: 0644]
sbin/pfctl/tests/files/pfctl_test_descr.sh
sbin/pfctl/tests/pfctl_test.sh