HomeFreeBSD

tests/sys/netgraph: Further CI fixes

Description

tests/sys/netgraph: Further CI fixes

I was trying to debug why this test is working locally but failing in CI.
While doing so I made some small changes to allow running it with set -e.

It turns out the problem is that find_iface does not return anything in
Jenkins, so all following tests fail with obscure error messages.
To handle this case exit early if $eth is empty.

Reviewed By: lwhsu
Differential Revision: https://reviews.freebsd.org/D29340

Details

Provenance
arichardsonAuthored on Mar 19 2021, 6:34 PM
Reviewer
lwhsu
Differential Revision
D29340: tests/sys/netgraph: Further CI fixes
Parents
rGd76f6b8e7389: pfilctl: improve formatting of "hooks" and "heads" command output.
Branches
Unknown
Tags
Unknown