]> arthur.barton.de Git - bup.git/blobdiff - t/test-xdev.sh
Get TZ offset from C localtime, given tm_gmtoff
[bup.git] / t / test-xdev.sh
index 747fd0b874e839f27201110570708c73d818949e..15bdd7acb748094f6ce948691b28b3b65a65cc78 100755 (executable)
@@ -8,6 +8,11 @@ if [ $(t/root-status) != root ]; then
     exit 0 # FIXME: add WVSKIP.
 fi
 
+if ! modprobe loop; then
+    echo 'Unable to load loopback module; skipping dependent tests.' 1>&2
+    exit 0
+fi
+
 # These tests are only likely to work under Linux for now
 # (patches welcome).
 if ! [[ $(uname) =~ Linux ]]; then