On 2016-03-13 06:23:04, ANDK wrote:
Show quoted text> I cannot confirm the observation with "pass if PERL_HASH_SEED is set
> to 1". I have seen PERL_HASH_SEED=1 to fail.
It's somewhat confusing. The result depends whether tests are executed with "make test" or by using "perl5.23.8 -Mblib" or "prove5.23.8 -b".
On my system these seem to always fail:
env PERL_HASH_SEED=1 PERL_PERTURB_KEYS=NO /opt/perl-5.23.8/bin/prove5.23.8 -b t/test_mock_wrap.t
env PERL_HASH_SEED=2 PERL_PERTURB_KEYS=NO /opt/perl-5.23.8/bin/prove5.23.8 -b t/test_mock_wrap.t
env PERL_HASH_SEED=3 PERL_PERTURB_KEYS=NO /opt/perl-5.23.8/bin/perl5.23.8 -Mblib t/test_mock_wrap.t
env PERL_HASH_SEED=2 PERL_PERTURB_KEYS=NO make test
And these seem to always pass:
env PERL_HASH_SEED=3 PERL_PERTURB_KEYS=NO /opt/perl-5.23.8/bin/prove5.23.8 -b t/test_mock_wrap.t
env PERL_HASH_SEED=1 PERL_PERTURB_KEYS=NO /opt/perl-5.23.8/bin/perl5.23.8 -Mblib t/test_mock_wrap.t
env PERL_HASH_SEED=2 PERL_PERTURB_KEYS=NO /opt/perl-5.23.8/bin/perl5.23.8 -Mblib t/test_mock_wrap.t
env PERL_HASH_SEED=1 PERL_PERTURB_KEYS=NO make test
env PERL_HASH_SEED=3 PERL_PERTURB_KEYS=NO make test