comparison tests/test-convert-git.t @ 22947:c63a09b6b337

tests: use $PYTHON instead of hardcoding python This makes running the testsuite with pypy possible.
author Augie Fackler <raf@durin42.com>
date Wed, 15 Oct 2014 15:35:59 -0400
parents 064a912ebfc2
children f7c0556d22d7
comparison
equal deleted inserted replaced
22946:77c121da6143 22947:c63a09b6b337
295 295
296 $ count=19 296 $ count=19
297 $ mkdir git-repo3 297 $ mkdir git-repo3
298 $ cd git-repo3 298 $ cd git-repo3
299 $ git init-db >/dev/null 2>/dev/null 299 $ git init-db >/dev/null 2>/dev/null
300 $ python -c 'file("b", "wb").write("".join([chr(i) for i in range(256)])*16)' 300 $ $PYTHON -c 'file("b", "wb").write("".join([chr(i) for i in range(256)])*16)'
301 $ git add b 301 $ git add b
302 $ commit -a -m addbinary 302 $ commit -a -m addbinary
303 $ cd .. 303 $ cd ..
304 304
305 convert binary file 305 convert binary file
312 0 addbinary 312 0 addbinary
313 updating bookmarks 313 updating bookmarks
314 $ cd git-repo3-hg 314 $ cd git-repo3-hg
315 $ hg up -C 315 $ hg up -C
316 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 316 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
317 $ python -c 'print len(file("b", "rb").read())' 317 $ $PYTHON -c 'print len(file("b", "rb").read())'
318 4096 318 4096
319 $ cd .. 319 $ cd ..
320 320
321 test author vs committer 321 test author vs committer
322 322