summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Schumann <wurblzap@gmail.com>2012-02-15 18:51:47 +0100
committerMarc Schumann <wurblzap@gmail.com>2012-02-15 18:51:47 +0100
commitb670bf1d4e570b77283b6f148eb0a859aa2d8bf9 (patch)
tree4b2b9ec5c137ad2f28e0d3889de4e03360d16892
parentc69c8a9235e885cd9ce6d5c984381afb3dbecb9e (diff)
downloadbugzilla-b670bf1d4e570b77283b6f148eb0a859aa2d8bf9.tar.gz
bugzilla-b670bf1d4e570b77283b6f148eb0a859aa2d8bf9.tar.xz
Test 1 fails if PERLLIB contains paths with whitespace.
r=gerv; a=LpSolit https://bugzilla.mozilla.org/show_bug.cgi?id=714074
-rw-r--r--t/001compile.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/001compile.t b/t/001compile.t
index 578be7450..a82b30a9e 100644
--- a/t/001compile.t
+++ b/t/001compile.t
@@ -48,7 +48,7 @@ sub compile_file {
my $libs = '';
if ($ENV{PERL5LIB}) {
- $libs = join " ", map { "-I$_" } split /$Config{path_sep}/, $ENV{PERL5LIB};
+ $libs = join " ", map { "-I\"$_\"" } split /$Config{path_sep}/, $ENV{PERL5LIB};
}
my $perl = qq{"$^X"};
my $output = `$perl $libs -wc$T $file 2>&1`;