From 9290e923d9d724e67536dd0afe265277dc316fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Sat, 22 Aug 2015 21:39:22 +0000 Subject: [PATCH] [tests] fix warning about newline in filename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Stefan Bühler git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3021 152afb58-edef-0310-8abb-c4023f1b3aa9 --- tests/LightyTest.pm | 1 + 1 file changed, 1 insertion(+) 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;