mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
pf tests: altq:codel_bridge requires if_bridge
Check that the bridge module is loaded before running this test. It likely will be (as a result of running the bridge tests), but if it's not we'll get spurious failures. MFC after: 3 days Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
312d49ef7a
commit
d491b42535
@ -156,6 +156,9 @@ codel_bridge_body()
|
||||
{
|
||||
altq_init
|
||||
is_altq_supported codel
|
||||
if ! kldstat -q -m if_bridge; then
|
||||
atf_skip "This test requires if_bridge"
|
||||
fi
|
||||
|
||||
epair=$(vnet_mkepair)
|
||||
ifconfig ${epair}a 192.0.2.1/24 up
|
||||
|
Loading…
Reference in New Issue
Block a user