summaryrefslogtreecommitdiff
path: root/tests/test-run.sh
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2019-04-12 18:41:48 +0100
committerAtomic Bot <atomic-devel@projectatomic.io>2019-04-15 03:09:00 +0000
commitb07b48e206688ab5de28e85e9cf501e0dfc58003 (patch)
tree5106ced2e67fa531b15732913c80d0848e907c35 /tests/test-run.sh
parent8115489116aa85ec848318782cdb6c49400aaaf9 (diff)
downloadflatpak-b07b48e206688ab5de28e85e9cf501e0dfc58003.tar.gz
Skip some tests if we can't use FUSE
On some systems we can't make use of FUSE, especially on the same locked-down systems where distribution packages are typically built. For example, official Debian autobuilders (buildds) are configured to disallow module loading after boot has finished as a form of security hardening, some build chroots don't have a valid /etc/mtab, and Docker containers give us uid 0 but not CAP_SYS_ADMIN. These checks are taken from libostree. Signed-off-by: Simon McVittie <smcv@collabora.com> Closes: #2824 Approved by: matthiasclasen
Diffstat (limited to 'tests/test-run.sh')
-rw-r--r--tests/test-run.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-run.sh b/tests/test-run.sh
index a6b66814..233df9ad 100644
--- a/tests/test-run.sh
+++ b/tests/test-run.sh
@@ -22,6 +22,7 @@ set -euo pipefail
. $(dirname $0)/libtest.sh
skip_without_bwrap
+skip_revokefs_without_fuse
echo "1..15"