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)
Sun, Sep 6, 9:34 AM
Unknown Object (File)
Sun, Sep 6, 4:08 AM
Unknown Object (File)
Sat, Sep 5, 12:17 PM
Unknown Object (File)
Sat, Sep 5, 4:20 AM
Unknown Object (File)
Fri, Aug 28, 9:14 PM
Unknown Object (File)
Fri, Aug 28, 9:12 PM
Unknown Object (File)
Tue, Aug 18, 9:37 AM
Unknown Object (File)
Mon, Aug 17, 1:47 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