]> Zhao Yanbai Git Server - minix.git/commit
blocktest: switch from rand() to lrand48()
authorDavid van Moolenbroek <david@minix3.org>
Mon, 10 Sep 2012 09:35:04 +0000 (11:35 +0200)
committerDavid van Moolenbroek <david@minix3.org>
Mon, 10 Sep 2012 09:35:04 +0000 (11:35 +0200)
commitc9f644bd68829e40254f666bd6cc2e97f17039c6
tree97a2068a37e40d1b8b91de5c16d52299ed86d67a
parent4fbdf1946d6200e8c4f7b3f54e301cc2047d4f97
blocktest: switch from rand() to lrand48()

Apparently, with NetBSD's libc, the exclusive OR of the lower eight
bits of 4096 consecutive rand() values is zero, breaking some tests.
test/blocktest/blocktest.c