summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2015-08-22 21:39:22 +0000
committerstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2015-08-22 21:39:22 +0000
commit5ff81bfb8bcf22f9da8b12074558ff052dd71dfb (patch)
tree27737fac4f0873d9f1e8028b1112ca3587c7cc89
parent11dbb855090c1bee813c1e54967fce7d8ad83c31 (diff)
downloadlighttpd-5ff81bfb8bcf22f9da8b12074558ff052dd71dfb.tar.gz
[tests] fix warning about newline in filename
From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3021 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r--tests/LightyTest.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/LightyTest.pm b/tests/LightyTest.pm
index da65bec7..d8850a37 100644
--- a/tests/LightyTest.pm
+++ b/tests/LightyTest.pm
@@ -17,6 +17,7 @@ sub find_program {
$location = $ENV{$envname};
} else {
$location = `which "$program" 2>/dev/null`;
+ chomp $location;
if (! -x $location) {
for my $path (@DEFAULT_PATHS) {
$location = $path . $program;