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, 29 Aug 2019 14:18:18 +0000 (15:18 +0100)
commit4c482080b7d6b9e6612a7abea902fcc407f3840f
tree3ff07b60df82a2353e7180f157247c603c8f6dea
parent39f650ba975ba9ff4521d0165cb0e51e81d83241
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