summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-01-19 02:32:06 +0000
committerSteve Peters <steve@fisharerojo.org>2006-01-19 02:32:06 +0000
commit290ae2ddc37d23442f71f6bbb43d3a665ab6e766 (patch)
tree8a948dbfc0edc1168c28272537fef303ed811362 /ext
parent60f1f59acdc45e401cf7a6c611af055895970392 (diff)
downloadperl-290ae2ddc37d23442f71f6bbb43d3a665ab6e766.tar.gz
Fix another concatenated filepath in a test for Digest::SHA.
p4raw-id: //depot/perl@26911
Diffstat (limited to 'ext')
-rw-r--r--ext/Digest/SHA/t/6-dump-load.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/Digest/SHA/t/6-dump-load.t b/ext/Digest/SHA/t/6-dump-load.t
index d60cb9acd6..2373a204ed 100644
--- a/ext/Digest/SHA/t/6-dump-load.t
+++ b/ext/Digest/SHA/t/6-dump-load.t
@@ -43,7 +43,8 @@ for (my $i = 0; $i < @sharsp; $i++) {
my $state;
my $file;
my $filename;
- $filename = dirname($0) . "/state/state.$ext[$i]";
+ $filename = File::Spec->catfile(dirname($0),
+ "state", "state." . $ext[$i]);
$file = File::Spec->canonpath($filename);
unless ($state = Digest::SHA->load($file)) {
$state = Digest::SHA->new($ext[$i]);