• Nicolas Pitre's avatar
    simple random data generator for tests · 2dca1af4
    Nicolas Pitre authored
    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: default avatarNicolas Pitre <nico@cam.org>
    Signed-off-by: default avatarJunio C Hamano <junkio@cox.net>
test-genrandom.c 731 Bytes