]> wimlib.net Git - wimlib/commitdiff
test-imagex-mount: Check for /dev/fuse both readable and writable
authorEric Biggers <ebiggers3@gmail.com>
Sat, 18 May 2013 16:17:44 +0000 (11:17 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 18 May 2013 16:17:44 +0000 (11:17 -0500)
tests/test-imagex-mount

index a75c4cd82dfd78c41c21dfed034a87af896c3a67..d5bfbcadb6912fbff212ec0887b60a3e0e675c9b 100755 (executable)
@@ -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