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
(from parent 1:
ccf8054
)
Even more VMSifying (this time more like de-MacOSifying).
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 1 Jun 2002 15:03:57 +0000
(15:03 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 1 Jun 2002 15:03:57 +0000
(15:03 +0000)
p4raw-id: //depot/perl@16959
lib/Test/Harness/t/test-harness.t
patch
|
blob
|
blame
|
history
diff --git
a/lib/Test/Harness/t/test-harness.t
b/lib/Test/Harness/t/test-harness.t
index
83f6c0b
..
3cb0abb
100644
(file)
--- a/
lib/Test/Harness/t/test-harness.t
+++ b/
lib/Test/Harness/t/test-harness.t
@@
-453,7
+453,9
@@
while (my($test, $expect) = each %samples) {
is_deeply( {map { $_=>$totals->{$_} } keys %{$expect->{total}}},
$expect->{total},
"$test - totals" );
- is_deeply( {map { $_=>$failed->{catfile($SAMPLE_TESTS, $test)}{$_} }
+ is_deeply( {map { $_=>$failed->{$^O eq 'macos' ?
+ catfile($SAMPLE_TESTS, $test) :
+ "$SAMPLE_TESTS/$test"}{$_} }
keys %{$expect->{failed}}},
$expect->{failed},
"$test - failed" );