]> arthur.barton.de Git - bup.git/blobdiff - t/test-fuse.sh
configure: test for functional readline more carefully
[bup.git] / t / test-fuse.sh
index 1732d66f2b3c4b71de209e8dd335adf3ef787df8..d219d557eb2ad44290d15edb3746471fe5a33a58 100755 (executable)
@@ -40,8 +40,8 @@ bup() { "$top/bup" "$@"; }
 savename()
 {
     readonly secs="$1"
-    WVPASS bup-python -c "from time import strftime, localtime; \
-       print strftime('%Y-%m-%d-%H%M%S', localtime($secs))"
+    WVPASS bup-cfg-py -c "from time import strftime, localtime; \
+       print(strftime('%Y-%m-%d-%H%M%S', localtime($secs)))"
 }
 
 export TZ=UTC
@@ -49,7 +49,7 @@ export TZ=UTC
 WVPASS bup init
 WVPASS cd "$tmpdir"
 
-savestamp1=$(WVPASS bup-python -c 'import time; print int(time.time())') || exit $?
+savestamp1=$(WVPASS bup-cfg-py -c 'import time; print(int(time.time()))') || exit $?
 savestamp2=$(($savestamp1 + 1))
 
 savename1="$(savename "$savestamp1")" || exit $?