From: jocuri%softhome.net <> Date: Sun, 5 Dec 2004 22:13:15 +0000 (+0000) Subject: Patch for bug 271964: tests 1 and 3 from the testing suite shouldn't fail when $... X-Git-Tag: bugzilla-2.18~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09fb45c4c3c4d22dfcb7c8956607e560dfb055b8;p=thirdparty%2Fbugzilla.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. --- diff --git a/t/001compile.t b/t/001compile.t index 69df08b6eb..ee46a5a85d 100644 --- a/t/001compile.t +++ b/t/001compile.t @@ -53,7 +53,7 @@ my $fh; } my @testitems = @Support::Files::testitems; -my $perlapp = $^X; +my $perlapp = "\"$^X\""; # Test the scripts by compiling them diff --git a/t/003safesys.t b/t/003safesys.t index af7a457b78..b4f41f61c4 100644 --- a/t/003safesys.t +++ b/t/003safesys.t @@ -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)