]> arthur.barton.de Git - bup.git/blobdiff - t/test-xdev.sh
test-xdev: show test skip messages via WVSTART
[bup.git] / t / test-xdev.sh
index 15bdd7acb748094f6ce948691b28b3b65a65cc78..8c0cdb16aa2938547d29c2f68e3ec9bd594c8a7e 100755 (executable)
@@ -4,19 +4,19 @@
 set -o pipefail
 
 if [ $(t/root-status) != root ]; then
-    echo 'Not root: skipping xdev tests.'
+    WVSTART 'not root: skipping tests'
     exit 0 # FIXME: add WVSKIP.
 fi
 
 if ! modprobe loop; then
-    echo 'Unable to load loopback module; skipping dependent tests.' 1>&2
+    WVSTART 'unable to load loopback module; skipping tests' 1>&2
     exit 0
 fi
 
 # These tests are only likely to work under Linux for now
 # (patches welcome).
 if ! [[ $(uname) =~ Linux ]]; then
-    echo 'Not Linux: skipping xdev tests.'
+    WVSTART 'not Linux: skipping tests'
     exit 0 # FIXME: add WVSKIP.
 fi