diff options
author | René Scharfe <l.s.r@web.de> | 2021-10-08 06:04:42 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-08 10:04:56 -0700 |
commit | c90cfc225baaf64af311f7e2953267e4de636205 (patch) | |
tree | 8cf850790b14ef3266597bfd296212fa8bc2ebb2 /t/t3514-cherry-pick-revert-gpg.sh | |
parent | mergesort: use ranks stack (diff) | |
download | tgif-c90cfc225baaf64af311f7e2953267e4de636205.tar.xz |
test-mergesort: use repeatable random numbers
Use MINSTD to generate pseudo-random numbers consistently instead of
using rand(3), whose output can vary from system to system, and reset
its seed before filling in the test values. This gives repeatable
results across versions and systems, which simplifies sharing and
comparing of results between developers.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3514-cherry-pick-revert-gpg.sh')
0 files changed, 0 insertions, 0 deletions