mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
ng_macfilter_test: Skip rather than fail if there is no network
This should bring the number of Jenkins failures from 4 down to 3. Locally kyua now prints `skipped: could not find a valid interface [0.115s]` when I run it in QEMU without a network device. Reviewed By: lwhsu MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D29414
This commit is contained in:
parent
7daca4e204
commit
6f30d1c851
@ -235,8 +235,7 @@ test_title "Setting up system..."
|
||||
load_modules netgraph ng_socket ng_ether ng_macfilter ng_one2many
|
||||
eth=$(find_iface)
|
||||
if [ -z "$eth" ]; then
|
||||
echo "1..1"
|
||||
echo "not ok 1 - Could not find a valid interface"
|
||||
echo "1..0 # SKIP could not find a valid interface"
|
||||
echo "Available interfaces:"
|
||||
ifconfig
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user