From 7cb6cfded160795bb2e3eb9fd8977613f8f842c3 Mon Sep 17 00:00:00 2001 From: Scott Mann Date: Mon, 10 Oct 2011 23:21:44 +0000 Subject: [PATCH] Change s/\R//g to chomp(). --- bin/tests/system/start.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/start.pl b/bin/tests/system/start.pl index 3b9d8ccfc9..6473180e2a 100644 --- a/bin/tests/system/start.pl +++ b/bin/tests/system/start.pl @@ -15,7 +15,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: start.pl,v 1.16.54.8 2011/10/10 19:27:45 smann Exp $ +# $Id: start.pl,v 1.16.54.9 2011/10/10 23:21:44 smann Exp $ # Framework for starting test servers. # Based on the type of server specified, check for port availability, remove @@ -145,7 +145,8 @@ sub start_server { open(FH, "<", $args_file); while(my $line=) { - $line =~ s/\R//g; + #$line =~ s/\R//g; + chomp $line; next if ($line =~ /^\s*$/); #discard blank lines next if ($line =~ /^\s*#/); #discard comment lines $line =~ s/#.*$//g;