simple random data generator for tests
commit2dca1af44806924946828e2fdc82ea408353d286
authorNicolas Pitre <nico@cam.org>
Wed, 11 Apr 2007 17:59:51 +0000 (11 13:59 -0400)
committerJunio C Hamano <junkio@cox.net>
Thu, 12 Apr 2007 02:23:32 +0000 (11 19:23 -0700)
treeb9346c6c56721f4ca480463696d45eea969caa16
parent91ecbeca48e675fef8141451edb2c86577f9d63c
simple random data generator for tests

Reliance on /dev/urandom produces test vectors that are, well, random.
This can cause problems impossible to track down when the data is
different from one test invokation to another.

The goal is not to have random data to test, but rather to have a
convenient way to create sets of large files with non compressible and
non deltifiable data in a reproducible way.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
.gitignore
Makefile
test-genrandom.c [new file with mode: 0644]