]> arthur.barton.de Git - bup.git/blobdiff - t/hardlink-sets
cirrus: allow failures on macos with python 2
[bup.git] / t / hardlink-sets
index 4769154c5b9f34ecb9a8dfdfd906d2d5da0d71a2..2d17e37b4fa3d1eb8c47c27bc2ef1fe4bf9a7b9a 100755 (executable)
@@ -8,7 +8,7 @@ for arg in "$@"; do
     shift
     arg_i=$((arg_i + 1))
 done
-bup_python="$(dirname "$0")/../lib/cmd/bup-python" || exit $?
+bup_python="$(dirname "$0")/../dev/bup-python" || exit $?
 exec "$bup_python" "$0"
 """
 # end of bup preamble
@@ -16,6 +16,8 @@ exec "$bup_python" "$0"
 from __future__ import absolute_import, print_function
 import os, stat, sys
 
+sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/../lib']
+
 from bup import compat
 from bup.io import byte_stream