summaryrefslogtreecommitdiff
path: root/yarns/9000-implements.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-12-25 09:33:07 +0200
committerLars Wirzenius <liw@liw.fi>2014-12-25 09:33:07 +0200
commitcef26df0304ea2fa110d3dff69ac2e93e3c583f6 (patch)
treed5250f6a65bb56682bed477369e27081723a0810 /yarns/9000-implements.yarn
parent3005db0ecc34b100eb63894d588e1d78c29c362c (diff)
downloadobnam-cef26df0304ea2fa110d3dff69ac2e93e3c583f6.tar.gz
Change test for whether to run FUSE tests
Diffstat (limited to 'yarns/9000-implements.yarn')
-rw-r--r--yarns/9000-implements.yarn13
1 files changed, 8 insertions, 5 deletions
diff --git a/yarns/9000-implements.yarn b/yarns/9000-implements.yarn
index de26a8b3..eb3946db 100644
--- a/yarns/9000-implements.yarn
+++ b/yarns/9000-implements.yarn
@@ -606,11 +606,14 @@ Some tests won't work correctly when `root` is running them.
IMPLEMENTS ASSUMING not running as root
test "$(id -u)" != 0
-Some tests, such as those for the FUSE plugin, require the user to be
-in a specific group.
-
- IMPLEMENTS ASSUMING user is in group (\S+)
- groups | tr ' ' '\n' | grep -Fx "$MATCH_1"
+For testing FUSE stuff, we need to check that the relevant stuff is
+avaialble. Previously, we did this by checking that the user running
+the test suite was in the group `fuse`, but that turns out to have
+been a Debianism (removed in the Debian `jessie` release). A better
+check is to check that the `fusermount` command is available.
+
+ IMPLEMENTS ASSUMING user can use FUSE
+ command -v fusermount
Check on whether user extended attributes work