зеркало из https://github.com/mozilla/pjs.git
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.
This commit is contained in:
Родитель
60739616b9
Коммит
42c528510f
|
@ -53,7 +53,7 @@ my $fh;
|
|||
}
|
||||
|
||||
my @testitems = @Support::Files::testitems;
|
||||
my $perlapp = $^X;
|
||||
my $perlapp = "\"$^X\"";
|
||||
|
||||
# Test the scripts by compiling them
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ my $fh;
|
|||
}
|
||||
|
||||
my @testitems = @Support::Files::testitems;
|
||||
my $perlapp = $^X;
|
||||
my $perlapp = "\"$^X\"";
|
||||
|
||||
foreach my $file (@testitems) {
|
||||
$file =~ s/\s.*$//; # nuke everything after the first space (#comment)
|
||||
|
|
Загрузка…
Ссылка в новой задаче