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)
Wed, Nov 13, 4:09 AM
Unknown Object (File)
Sun, Nov 10, 2:21 PM
Unknown Object (File)
Tue, Nov 5, 10:35 AM
Unknown Object (File)
Fri, Oct 25, 1:56 PM
Unknown Object (File)
Wed, Oct 23, 11:42 AM
Unknown Object (File)
Oct 18 2024, 5:30 PM
Unknown Object (File)
Oct 18 2024, 4:55 PM
Unknown Object (File)
Oct 2 2024, 4:23 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