]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
travis: skip test-bpf on Travis CI
authorEvgeny Vereshchagin <evvers@ya.ru>
Sun, 23 Dec 2018 11:04:20 +0000 (12:04 +0100)
committerEvgeny Vereshchagin <evvers@ya.ru>
Mon, 24 Dec 2018 07:49:17 +0000 (08:49 +0100)
More generally IPAddress[Allow|Deny] are broken in docker and lxc containers.

src/test/test-bpf.c

index ea5f0f5bc68019edc72ed9412985201344976144..7341f7f1eadaf1d840971d18f35fd119e6391314 100644 (file)
@@ -30,6 +30,9 @@ int main(int argc, char *argv[]) {
 
         test_setup_logging(LOG_DEBUG);
 
+        if (is_run_on_travis_ci())
+                return log_tests_skipped("test-bpf fails on Travis CI: https://github.com/systemd/systemd/issues/9666");
+
         r = enter_cgroup_subroot();
         if (r == -ENOMEDIUM)
                 return log_tests_skipped("cgroupfs not available");