Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163485020
D55222.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
723 B
Referenced Files
None
Subscribers
None
D55222.id.diff
View Options
diff --git a/sbin/dhclient/tests/pcp.sh b/sbin/dhclient/tests/pcp.sh
--- a/sbin/dhclient/tests/pcp.sh
+++ b/sbin/dhclient/tests/pcp.sh
@@ -107,6 +107,7 @@
{
atf_set descr 'test dhclient on pcp interface'
atf_set require.user root
+ atf_set require.kmods 'ng_ether ng_iface ng_vlan'
}
pcp_body()
@@ -124,11 +125,6 @@
# Server side needs to be up to pass packets
ifconfig ${epair}a up
- # Make sure necessary netgraph modules are loaded
- kldstat -q -n ng_ether || kldload ng_ether
- kldstat -q -n ng_iface || kldload ng_iface
- kldstat -q -n ng_vlan || kldload ng_vlan
-
# create vlan, and attach epair to it (has incoming/outgoing vlan
# 0 tagged frames)
ngctl mkpeer ${epair}a: vlan lower downstream
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 24, 4:21 PM (9 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35448206
Default Alt Text
D55222.id.diff (723 B)
Attached To
Mode
D55222: dhclient/tests: use require.kmods property instead of ad-hoc checks
Attached
Detach File
Event Timeline
Log In to Comment