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, Jan 28, 9:45 PM
Unknown Object (File)
Tue, Jan 28, 1:14 PM
Unknown Object (File)
Mon, Jan 27, 11:26 AM
Unknown Object (File)
Fri, Jan 24, 5:32 PM
Unknown Object (File)
Thu, Jan 23, 6:54 PM
Unknown Object (File)
Sat, Jan 18, 5:39 PM
Unknown Object (File)
Sat, Jan 18, 3:54 AM
Unknown Object (File)
Nov 29 2024, 12:25 AM

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