]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r346847:
authorAlan Somers <asomers@FreeBSD.org>
Fri, 31 May 2019 16:23:51 +0000 (16:23 +0000)
committerAlan Somers <asomers@FreeBSD.org>
Fri, 31 May 2019 16:23:51 +0000 (16:23 +0000)
commitfad636c5dbfb1357189a225d9ddc02ca54fb5a98
tree6cfc62eb741c53e874ac4353fbc439fe31d1d46c
parent9bf950c321285e19c59c5ff87150385ab04fbfd3
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