summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorMarc Schumann <wurblzap@gmail.com>2012-02-15 18:52:57 +0100
committerMarc Schumann <wurblzap@gmail.com>2012-02-15 18:52:57 +0100
commite9ec8679a651682a64838f97a2cce87ddc6dbd0e (patch)
tree31b3e12969a0d217111251d4b6d3026899d79202 /t
parent3d4edc9bd64bf54e5c8de528904a428d30503f3a (diff)
downloadbugzilla-e9ec8679a651682a64838f97a2cce87ddc6dbd0e.tar.gz
bugzilla-e9ec8679a651682a64838f97a2cce87ddc6dbd0e.tar.xz
Test 1 fails if PERLLIB contains paths with whitespace.
r=gerv; a=LpSolit https://bugzilla.mozilla.org/show_bug.cgi?id=714074
Diffstat (limited to 't')
-rw-r--r--t/001compile.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/001compile.t b/t/001compile.t
index 9e63da0b4..97a339b2d 100644
--- a/t/001compile.t
+++ b/t/001compile.t
@@ -62,7 +62,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`;