Page MenuHomeFreeBSD

tests/sys/netgraph: Further CI fixes
ClosedPublic

Authored by arichardson on Mar 19 2021, 2:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 21, 12:14 AM
Unknown Object (File)
Sun, Apr 19, 8:41 PM
Unknown Object (File)
Tue, Apr 14, 10:20 PM
Unknown Object (File)
Mon, Apr 13, 4:22 AM
Unknown Object (File)
Sun, Apr 12, 7:40 PM
Unknown Object (File)
Sun, Apr 12, 2:24 AM
Unknown Object (File)
Thu, Apr 9, 12:48 AM
Unknown Object (File)
Tue, Apr 7, 6:26 PM

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable