]> arthur.barton.de Git - bup.git/blobdiff - t/test-restore-map-owner.sh
Test test-restore-single-file test-save-creates-no-unrefs w/python 3
[bup.git] / t / test-restore-map-owner.sh
index f307826eeb48cd979ee7f8874c14fa37ef3fbb53..bf9362e46dc39614e900ddf6df68875649d25d73 100755 (executable)
@@ -2,7 +2,9 @@
 . ./wvtest-bup.sh || exit $?
 . t/lib.sh || exit $?
 
-if [ $(t/root-status) != root ]; then
+root_status="$(t/root-status)" || exit $?
+
+if [ "$root_status" != root ]; then
     echo 'Not root: skipping restore --map-* tests.'
     exit 0 # FIXME: add WVSKIP.
 fi