/* * Simple random data generator used to create reproducible test files. * This is inspired from POSIX.1-2001 implementation example for rand(). * Copyright (C) 2007 by Nicolas Pitre, licensed under the GPL version 2. */ #include "test-tool.h" #include "git-compat-util.h" int cmd__genrandom(int argc, const char **argv) { … }