summaryrefslogtreecommitdiff
path: root/ext/re
diff options
context:
space:
mode:
Diffstat (limited to 'ext/re')
-rw-r--r--ext/re/t/regop.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/re/t/regop.t b/ext/re/t/regop.t
index 827b577c87..7fe7b20462 100644
--- a/ext/re/t/regop.t
+++ b/ext/re/t/regop.t
@@ -15,6 +15,8 @@ BEGIN { require "./test.pl"; }
our $NUM_SECTS;
chomp(my @strs= grep { !/^\s*\#/ } <DATA>);
my $out = runperl(progfile => "../ext/re/t/regop.pl", stderr => 1 );
+# VMS currently embeds linefeeds in the output.
+$out =~ s/\cJ//g if $^O = 'VMS';
my @tests = grep { /\S/ } split /(?=Compiling REx)/, $out;
# on debug builds we get an EXECUTING... message in there at the top
shift @tests