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>
Fri, 29 Jan 2021 14:16:06 +0000 (14:16 +0000)
commitdbced36390748349ed99514ad66a6ff0ba6367fa
tree92f1c34278b4940c94cbfb05b466def6fe9f4aa0
parent79f519ffda9430c9939479d482ee61809ac515bd
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