Closed kentfredric closed 7 years ago
Doesn't the new Test::Harness add '.' back in for testing?
In short, this isn't necessarily "urgently in need of fixing" ( assuming Test::Harness lands as expected ), but should still be deemed "a bug" and should be fixed in some way in the ultra-long term.
I'd go as far as to suggest Test::Harness should have a way to disable the automatic .
appending just to isolate these kinds of bugs at a smoker level.
The conveniences offered by Test::Harness are first-and-foremost "in consideration of the poor users", not the final solution.
Just replying to myself:
I'd go as far as to suggest Test::Harness should have a way to disable the automatic . appending just to isolate these kinds of bugs at a smoker level.
And it does in 3.37_01
+ local $ENV{PERL_USE_UNSAFE_INC} = 1 if not exists $ENV{PERL_USE_UNSAFE_INC};
In theory that means explicitly setting it to = 0 will help smoke these issues.
You're right. I just added #73 in an attempt to resolve this in the future (past Test::Harness 3.38+). What do you think?
Fixed in 2.007000.
Looks good to me :)
On 5.25.10 with
-Ddefault_inc_excludes_dot