]> arthur.barton.de Git - bup.git/blobdiff - test/ext/test-restore-map-owner
Teach pytest to handle WVSKIP and use it where we can
[bup.git] / test / ext / test-restore-map-owner
index 348ce3c3230a06a25764c3a3fca6da2c0db29b9f..ff164da610ae15ba0437e09a2385ed08efe6adf1 100755 (executable)
@@ -5,8 +5,8 @@
 root_status="$(dev/root-status)" || exit $?
 
 if [ "$root_status" != root ]; then
-    echo 'Not root: skipping restore --map-* tests.'
-    exit 0 # FIXME: add WVSKIP.
+    WVSKIP 'Not root: skipping restore --map-* tests.'
+    exit 0
 fi
 
 top="$(WVPASS pwd)" || exit $?