summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-02-19 15:41:24 +0000
committerSimon McVittie <smcv@collabora.com>2022-02-20 11:41:27 +0000
commit2e3d6e7dc75e033df16caddb553443ab13152351 (patch)
tree6c4c4078cbfcff6a85bfe7b1e2eee1a87c99b79f
parentf4a00b4f27d93597752e42254b319eeb2538796d (diff)
downloadbubblewrap-2e3d6e7dc75e033df16caddb553443ab13152351.tar.gz
Disable test-specifying-pidns.sh under 'meson dist' while I investigate
This test is hanging when run under 'meson dist' for some reason, but not when run under 'meson test', and not locally, only in the Github Workflow-based CI. Disable it for now. Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r--.github/workflows/check.yml2
-rwxr-xr-xtests/test-specifying-pidns.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index ceb3b82..34b8771 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -110,7 +110,7 @@ jobs:
( cd DESTDIR && find -ls )
- name: dist
run: |
- BWRAP_MUST_WORK=1 meson dist -C _build
+ BWRAP_MUST_WORK=1 CI_MESON_DIST=1 meson dist -C _build
- name: Collect dist test logs on failure
if: failure()
run: mv _build/meson-private/dist-build/meson-logs/testlog.txt test-logs/disttestlog.txt || true
diff --git a/tests/test-specifying-pidns.sh b/tests/test-specifying-pidns.sh
index b0db6d0..5b88af4 100755
--- a/tests/test-specifying-pidns.sh
+++ b/tests/test-specifying-pidns.sh
@@ -10,6 +10,8 @@ echo "1..1"
# This test needs user namespaces
if test -n "${bwrap_is_suid:-}"; then
echo "ok - # SKIP no setuid support for --unshare-user"
+elif test -n "${CI_MESON_DIST:-}"; then
+ echo "not ok - # TODO this test hangs under 'meson dist' during Github Workflow CI"
else
mkfifo donepipe
$RUN --info-fd 42 --unshare-user --unshare-pid sh -c 'readlink /proc/self/ns/pid > sandbox-pidns; cat < donepipe' >/dev/null 42>info.json &