[PATCH] largefiles: flush out tests to cover more operations and known cornercases

Matt Mackall mpm at selenic.com
Thu Oct 13 18:55:21 CDT 2011


On Thu, 2011-10-13 at 16:28 +0200, Na'Tosha Bard wrote:
> # HG changeset patch
> # User Na'Tosha Bard <natosha at unity3d.com>
> # Date 1318511732 -7200
> # Node ID 1909ef8baa4a0f492ce7d9335e87d9c202a413e9
> # Parent  20fe11912c566159668ef2273a43034f1c693a00
> largefiles: flush out tests to cover more operations and known cornercases

Check-code sez:

tests/test-largefiles.t:199 (natosha at 15247):
 >   $ head -c3145728 /dev/zero > reallylarge
 don't use 'head -c', use 'dd'
tests/test-largefiles.t:203 (natosha at 15247):
 >   $ head -c1048576 /dev/zero > reallylarge2
 don't use 'head -c', use 'dd'

I'll fix this, but please get in the habit.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list