Avoid /dev/zero in tests.
commit56cfc88a46842653218c1575d63068a0b1b8bb66
authorJohannes Sixt <johannes.sixt@telecom.at>
Wed, 2 Jul 2008 09:07:38 +0000 (2 11:07 +0200)
committerJohannes Sixt <johannes.sixt@telecom.at>
Wed, 2 Jul 2008 09:10:39 +0000 (2 11:10 +0200)
treeb9c8992f4de433e1e7eced799b8e724a615991d4
parenta3fb126011ff47be25b194f80b74e851ef3c7482
Avoid /dev/zero in tests.

On Windows, we do not have /dev/zero or an equivalent. Work around this
using a shell loop that produces zero bytes.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
t/t5302-pack-index.sh
t/t5303-pack-corruption-resilience.sh