]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r346847:
authorasomers <asomers@FreeBSD.org>
Thu, 16 May 2019 03:24:08 +0000 (03:24 +0000)
committerasomers <asomers@FreeBSD.org>
Thu, 16 May 2019 03:24:08 +0000 (03:24 +0000)
commit20c28272f6e7cb275cdcfa930b34e6b456720cdc
tree66f838a4c34a153a2021de6a6684ce1570d56345
parentf89ea5b087e00ef24b0ef4d5c1b2cdf043379e43
MFC r346847:

fsx: seed more randomly with the -S0 option

When using -S0, seed the PRNG with the current time in nanoseconds, not
seconds, so consecutive runs don't accidentally use the same seed.

Also, rename some variables for clarity.

Reviewed by: ngie
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20078
tools/regression/fsx/fsx.c