]> arthur.barton.de Git - bup.git/blobdiff - t/ns-timestamp-resolutions
configure: test for functional readline more carefully
[bup.git] / t / ns-timestamp-resolutions
index 574fad5bb6979918e265742e08b7292f98c1b5ee..d1387495272b9912d494c29c62d15fa115cccdaa 100755 (executable)
@@ -8,13 +8,15 @@ 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
 
 from __future__ import absolute_import
-import os, sys
+import os.path, sys
+
+sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/../lib']
 
 from bup.compat import argv_bytes
 from bup.helpers import handle_ctrl_c, saved_errors