projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
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
|
history
diff --git
a/lib/Test/Harness/t/test-harness.t
b/lib/Test/Harness/t/test-harness.t
index 83f6c0b8dfe1299cc87c1614c609c0e3a778ef51..3cb0abbb6bc46d0a37ebbbaf59e4ea27c1f3be86 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" );