Commit 00596bee authored by jocuri%softhome.net's avatar jocuri%softhome.net

Patch for bug 271964: tests 1 and 3 from the testing suite shouldn't fail when…

Patch for bug 271964: tests 1 and 3 from the testing suite shouldn't fail when $^X contains spaces; patch by me, r=jouni, a=justdave.
parent 41f1a258
...@@ -53,7 +53,7 @@ my $fh; ...@@ -53,7 +53,7 @@ my $fh;
} }
my @testitems = @Support::Files::testitems; my @testitems = @Support::Files::testitems;
my $perlapp = $^X; my $perlapp = "\"$^X\"";
# Test the scripts by compiling them # Test the scripts by compiling them
......
...@@ -47,7 +47,7 @@ my $fh; ...@@ -47,7 +47,7 @@ my $fh;
} }
my @testitems = @Support::Files::testitems; my @testitems = @Support::Files::testitems;
my $perlapp = $^X; my $perlapp = "\"$^X\"";
foreach my $file (@testitems) { foreach my $file (@testitems) {
$file =~ s/\s.*$//; # nuke everything after the first space (#comment) $file =~ s/\s.*$//; # nuke everything after the first space (#comment)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment