From: Eric Biggers Date: Sat, 18 May 2013 16:17:44 +0000 (-0500) Subject: test-imagex-mount: Check for /dev/fuse both readable and writable X-Git-Tag: v1.4.0~1 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=4fa6320c11881c0999e046e073be2a6ff37a282c test-imagex-mount: Check for /dev/fuse both readable and writable --- diff --git a/tests/test-imagex-mount b/tests/test-imagex-mount index a75c4cd8..d5bfbcad 100755 --- a/tests/test-imagex-mount +++ b/tests/test-imagex-mount @@ -48,8 +48,8 @@ init() { imagex capture tmp.empty empty.wim --norpfix } -if [ ! -r /dev/fuse ]; then - echo "WARNING: /dev/fuse is not readable." +if [ ! -r /dev/fuse ] || [ ! -w /dev/fuse ]; then + echo "WARNING: /dev/fuse is not readable and writable." echo "Skipping WIM mounting checks" skip_test fi