Branch: refs/heads/yves/harden_runenv_hashseed
Home: https://github.com/Perl/perl5
Commit: 92dd3e39a9356381d919fb4754a8a5a1f94c0c90
https://github.com/Perl/perl5/commit/92dd3e39a9356381d919fb4754a8a5a1f94c0c90
Author: Yves Orton <[email protected]>
Date: 2022-03-15 (Tue, 15 Mar 2022)
Changed paths:
M t/run/runenv_hashseed.t
Log Message:
-----------
Rework test file in multiple ways (to squash).
Test setting PERL_PERTURB_KEYS both via name and number.
Use more test keys with a mix of different key lengths, some
relatively long.
Rework various tests that only verify that setting PERL_PERTURB_KEYS
mode works, and that setting the seed works so they only fire once per
mode. There is no point in repeating them over and over.
Improved comments about what is going on.
Removed the comments about the probability of a test fail and made them
more generic. It is better not to say the probability unless we know
what we are saying is correct, it isn't necessary to say it precisely
anyway, we know it is very low.
Only use -Dh mode when we test the DETERMINISTIC mode.
Clean up the temp files more aggressively.
I will squash this down with the previous patch once it has been
reviewed.