]> arthur.barton.de Git - bup.git/blobdiff - t/test-sparse-files.sh
Change remaining uses of python to bup-python
[bup.git] / t / test-sparse-files.sh
index 82275ff8bc045f82e1f85b46f0f5b624740b2f59..8ce30339e539078f18becaeb6be3d730da492a64 100755 (executable)
@@ -18,7 +18,7 @@ WVPASS cd "$tmpdir"
 
 # The 3MB guess is semi-arbitrary, but we've been informed that
 # Lustre, for example, uses 1MB, so guess higher than that, at least.
-block_size=$(python -c \
+block_size=$(bup-python -c \
   "import os; print getattr(os.stat('.'), 'st_blksize', 0) or $mb * 3") \
     || exit $?
 data_size=$((block_size * 10))