diff options
author | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2015-08-22 21:39:22 +0000 |
---|---|---|
committer | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2015-08-22 21:39:22 +0000 |
commit | 5ff81bfb8bcf22f9da8b12074558ff052dd71dfb (patch) | |
tree | 27737fac4f0873d9f1e8028b1112ca3587c7cc89 | |
parent | 11dbb855090c1bee813c1e54967fce7d8ad83c31 (diff) | |
download | lighttpd-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.pm | 1 |
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; |