$proxy_address
$PROXYIN
$pwd
+ $randseed
$run_event_based
$SERVERIN
$srcdir
our $automakestyle; # use automake-like test status output format
our $anyway; # continue anyway, even if a test fail
our $CURLVERSION=""; # curl's reported version number
+our $randseed = 0; # random number seed
# paths
our $pwd = getcwd(); # current working directory
$ENV{'XDG_CONFIG_HOME'}=$ENV{'HOME'};
$ENV{'COLUMNS'}=79; # screen width!
+ # Incorporate the $logdir into the random seed and re-seed the PRNG.
+ # This gives each runner a unique yet consistent seed which provides
+ # more unique port number selection in each runner, yet is deterministic
+ # across runs.
+ $randseed += unpack('%16C*', $logdir);
+ srand $randseed;
+
# create pipes for communication with runner
my ($thisrunnerr, $thiscontrollerw, $thiscontrollerr, $thisrunnerw);
pipe $thisrunnerr, $thiscontrollerw;
my $postmortem; # display detailed info about failed tests
my $run_disabled; # run the specific tests even if listed in DISABLED
my $scrambleorder;
-my $randseed = 0;
my $jobs = 0;
# Azure Pipelines specific variables