Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 6dc66d255ce6b487c300b06a5cb75819fd33feb3
https://github.com/Perl/perl5/commit/6dc66d255ce6b487c300b06a5cb75819fd33feb3
Author: Yves Orton <demerphq@gmail.com>
Date: 2022-08-28 (Sun, 28 Aug 2022)
Changed paths:
M t/comp/retainedlines.t
Log Message:
-----------
retainedlines.t - deterministic results and fixup tests under failure
The existing logic is only "correct" when all the tests pass. When they
fail the tests are revealed to be non-determinstic. The other problem is
that once a single test case fails and leaks an entry in the stash the
following tests are all contaminated and trigger "false failures". The
combination makes things look much more broken than they are.
This patch fixes the tests so that they are deterministic and the
"leaking" between test cases is stopped.
See GH Issue #20174