projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64ab098
)
ci: Also skip if we detect /run/.containerenv
author
Colin Walters
<walters@verbum.org>
Thu, 2 May 2024 18:18:10 +0000
(14:18 -0400)
committer
Colin Walters
<walters@verbum.org>
Thu, 2 May 2024 18:18:55 +0000
(14:18 -0400)
tests/test-libarchive-import.c
patch
|
blob
|
history
diff --git
a/tests/test-libarchive-import.c
b/tests/test-libarchive-import.c
index 86536fc2a1958b4c2e8cf66e56995dcba85d518b..5643db70e930744be8c62995299f3f534a4906b4 100644
(file)
--- a/
tests/test-libarchive-import.c
+++ b/
tests/test-libarchive-import.c
@@
-629,7
+629,9
@@
test_libarchive_selinux (gconstpointer data)
if (skip_if_no_xattr (td))
goto out;
- if (getenv ("container"))
+ // xref https://bugzilla.redhat.com/show_bug.cgi?id=2278652
+ if (getenv ("container") || g_file_test ("/run/.containerenv", G_FILE_TEST_EXISTS)
+ || g_file_test ("/.dockerenv", G_FILE_TEST_EXISTS))
{
// FIXME dedup this with libtest.sh have_selinux_relabel
g_test_skip ("skip in containers for now");