summaryrefslogtreecommitdiff
path: root/tests/Fetish.pm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Fetish.pm')
-rw-r--r--tests/Fetish.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/Fetish.pm b/tests/Fetish.pm
index cdd09fa18..f063de54b 100644
--- a/tests/Fetish.pm
+++ b/tests/Fetish.pm
@@ -12,7 +12,7 @@ use FileHandle;
use File::Compare qw(compare);
@ISA = qw(Exporter);
-($VERSION = '$Revision: 1.11 $ ') =~ tr/[0-9].//cd;
+($VERSION = '$Revision: 1.12 $ ') =~ tr/[0-9].//cd;
@EXPORT = qw (run_tests);
my $debug = $ENV{DEBUG};
@@ -168,7 +168,9 @@ sub _at_replace ($$)
foreach my $eo (qw (AUX OUT ERR))
{
my $f = $map->{$eo};
- $f and $s =~ s/\@$eo\@/$f/g;
+ $f
+ and $s =~ /\@$eo\@/
+ and $s =~ s/\@$eo\@/$f/g;
}
return $s;
}