]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
fuse/runtests: truncate expected file contents in reported error message
authorrobk-tahoe <robk-tahoe@allmydata.com>
Mon, 20 Oct 2008 14:45:23 +0000 (07:45 -0700)
committerrobk-tahoe <robk-tahoe@allmydata.com>
Mon, 20 Oct 2008 14:45:23 +0000 (07:45 -0700)
commit23cce79d9ff5ece3ea3fbf4a84b85eae088b0486
tree57b562fb584d310056528b6d2c5bf59e7ef42903
parente0fb7735bc675b03fb7feb3379c847768ac8dece
fuse/runtests: truncate expected file contents in reported error message

this avoids dumping the repr of 1Mb of random data to stdout in the event
of a test failure, but rather just dumps the start/end of the errant strings
if the amount of data is > 200 chars repr'd
contrib/fuse/runtests.py