X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=t%2Ftest-fuse.sh;h=1ed35542473f09db017633c4b04317d7bfd68c0e;hb=dd759516e0cc0b37aa3ba7048d053647483988bc;hp=1732d66f2b3c4b71de209e8dd335adf3ef787df8;hpb=303ff2b80ca442e1f7b50fb7d8a428686789f58e;p=bup.git diff --git a/t/test-fuse.sh b/t/test-fuse.sh index 1732d66..1ed3554 100755 --- a/t/test-fuse.sh +++ b/t/test-fuse.sh @@ -41,7 +41,7 @@ savename() { readonly secs="$1" WVPASS bup-python -c "from time import strftime, localtime; \ - print strftime('%Y-%m-%d-%H%M%S', localtime($secs))" + 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-python -c 'import time; print(int(time.time()))') || exit $? savestamp2=$(($savestamp1 + 1)) savename1="$(savename "$savestamp1")" || exit $?