This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ece9ad2
)
Fix skip() usage in tests
author
Steffen Mueller
<smueller@cpan.org>
Fri, 20 May 2011 14:03:07 +0000
(16:03 +0200)
committer
Steffen Mueller
<smueller@cpan.org>
Fri, 20 May 2011 16:03:35 +0000
(18:03 +0200)
It needs to know how many tests to skip. This never failed in
blead since it's perl version dependent.
dist/Data-Dumper/t/bugs.t
patch
|
blob
|
blame
|
history
diff --git
a/dist/Data-Dumper/t/bugs.t
b/dist/Data-Dumper/t/bugs.t
index
b7b32fc
..
73d18c0
100644
(file)
--- a/
dist/Data-Dumper/t/bugs.t
+++ b/
dist/Data-Dumper/t/bugs.t
@@
-81,7
+81,7
@@
doh('fixed');
ok(1, "[perl #56766]"); # Still no core dump? We are fine.
SKIP: {
- skip "perl 5.10.1 crashes and DD cannot help it" if $] < 5.0119999;
+ skip "perl 5.10.1 crashes and DD cannot help it"
, 1
if $] < 5.0119999;
# [perl #72332] Segfault on empty-string glob
Data::Dumper->Dump([*{*STDERR{IO}}]);
ok("ok", #ok