test-convert-mtn.t: generate files in binary mode

This commit is contained in:
Patrick Mezard 2012-08-03 17:26:58 +02:00
parent 42d6e78b77
commit a52f5ba3fb

View File

@ -219,7 +219,9 @@ test diverging directory moves
test large file support (> 32kB)
$ python -c 'for x in range(10000): print x' > large-file
>>> fp = file('large-file', 'wb')
>>> for x in xrange(10000): fp.write('%d\n' % x)
>>> fp.close()
$ $TESTDIR/md5sum.py large-file
5d6de8a95c3b6bf9e0ffb808ba5299c1 large-file
$ mtn add large-file