diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-12-18 15:37:20 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-01-09 09:12:05 +0100 |
commit | a7d4693a4813a13d6b2e6f223f119e13b3b58102 (patch) | |
tree | fb4722cd6975c5713ef5c07601ebe08e58974157 /lib/mime.c | |
parent | 5059f5552f7759477eb5ea8e26ce99b556c684c2 (diff) |
runtests: make random seed fixed for a month
When using randomized features of runtests (-R and --shallow) it is
useful to have a fixed random seed to make sure for example extra
commits in a branch or a rebase won't change the seed that would make
repeated runs work differently.
As it is also useful to change seed sometimes, the default seed is now
determined based on the current month (and first line curl -V
output). When the month changes, so will the random seed.
The specific seed is also shown in the standard test suite top header
and it can be set explictly with the new --seed=[num] option so that the
exact order of a previous run can be achieved.
Closes #4734
Diffstat (limited to 'lib/mime.c')
0 files changed, 0 insertions, 0 deletions