]> arthur.barton.de Git - bup.git/blobdiff - t/sparse-test-data
cirrus: allow failures on macos with python 2
[bup.git] / t / sparse-test-data
index 8f982e003163894f1d2b121f1e8d86d5e028b7a9..096d042f102cd0eda3a7c9544befe71776b9d4f8 100755 (executable)
@@ -1,13 +1,15 @@
 #!/bin/sh
 """": # -*-python-*-
-bup_python="$(dirname "$0")/../cmd/bup-python" || exit $?
+bup_python="$(dirname "$0")/../dev/bup-python" || exit $?
 exec "$bup_python" "$0" ${1+"$@"}
 """
 
 from __future__ import absolute_import, print_function
 from random import randint
 from sys import stderr, stdout
-import sys
+import os, sys
+
+sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/../lib']
 
 from bup.io import byte_stream