test-bpf: skip test when run inside containers
authorMichael Biebl <biebl@debian.org>
Sun, 19 May 2019 18:57:07 +0000 (20:57 +0200)
committerMichael Biebl <biebl@debian.org>
Thu, 18 Mar 2021 19:59:14 +0000 (19:59 +0000)
commita35babed1422da8103bb183cfc8f5e3787798ead
tree959795ece100704af801cb8e8fe41e31b66bfaf2
parent0c0f997dab2727ee9f9eb96eb782d7c356e451a0
test-bpf: skip test when run inside containers

The test reliably fails inside LXC and Docker when run on a new enough
kernel. It's unclear whether this is a kernel, LXC/Docker or systemd
issue and apparently there is no real interest to get this fixed, so
let's skip this test.
As this also covers Travis CI, there is no need for this additional
check anymore.

See https://github.com/systemd/systemd/issues/9666

(cherry picked from commit 98a3c188a1511caae422b2c891f3cc016824eb81)

Gbp-Pq: Name test-bpf-skip-test-when-run-inside-containers.patch
src/test/test-bpf.c