]> arthur.barton.de Git - bup.git/blobdiff - t/test-index-check-device.sh
Fix completely broken invocations of t/root-status.
[bup.git] / t / test-index-check-device.sh
index 2484fd0bd1495db8f7dc2acd51cccbc8dae9e8c0..0ffc3b878ed997e4a5ac34a2a055d704f29c1e81 100755 (executable)
@@ -4,7 +4,7 @@
 
 set -ex -o pipefail
 
-if t/root-status != root; then
+if [ $(t/root-status) != root ]; then
     echo 'Not root: skipping --check-device tests.'
     exit 0 # FIXME: add WVSKIP.
 fi