projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0813a5e
)
tests: skip test-bpf only when we're 100% sure it's run in containers
author
Evgeny Vereshchagin
<evvers@ya.ru>
Thu, 30 May 2019 01:29:50 +0000
(
03:29
+0200)
committer
Evgeny Vereshchagin
<evvers@ya.ru>
Thu, 30 May 2019 03:11:35 +0000
(06:11 +0300)
This is just a follow-up to https://github.com/systemd/systemd/pull/12617.
src/test/test-bpf.c
patch
|
blob
|
history
diff --git
a/src/test/test-bpf.c
b/src/test/test-bpf.c
index f4d0c731f111bacd7dbeab34f61740b5d0dfe1c7..90ab15c5499f50c3358e1b09db85dc2049bcd82b 100644
(file)
--- a/
src/test/test-bpf.c
+++ b/
src/test/test-bpf.c
@@
-57,7
+57,7
@@
int main(int argc, char *argv[]) {
test_setup_logging(LOG_DEBUG);
- if (detect_container())
+ if (detect_container()
> 0
)
return log_tests_skipped("test-bpf fails inside LXC and Docker containers: https://github.com/systemd/systemd/issues/9666");
assert_se(getrlimit(RLIMIT_MEMLOCK, &rl) >= 0);