]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-network: re-enable test_macsec
authorFrantisek Sumsal <frantisek@sumsal.cz>
Sun, 30 Oct 2022 19:27:55 +0000 (20:27 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Sun, 30 Oct 2022 19:42:11 +0000 (20:42 +0100)
commitb3de9d7bdacdd3219b69bb16e8b326d6393a258d
tree02f88d15a1d9445d26654c806f4fd9a165ec29dd
parentdcebf1d87efea7b0016e0997b0bffc2c3fbd6c1a
test-network: re-enable test_macsec

The outstanding kernel panic should be already fixed in recent enough
kernels by [0]. To make the test safe to run anywhere, let's implement
a simple kernel version check and run the test only if we're running
with at least kernel 6.x. The patch might be in some 5.x kernels as
well, but let's be on the safe side and use 6.x as a baseline here
(which is currently the case for Arch and Fedora Rawhide anyway).

[0] https://lore.kernel.org/netdev/7b3fd03e1a46047e5ffe2a389fe74501f0a93206.1656519221.git.sd@queasysnail.net/T/#u
test/test-network/systemd-networkd-tests.py