From 82fe0148f2bddbf754aace0cfe6e0f213ed3d3a8 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sat, 23 Jan 2016 18:50:43 +0100 Subject: [PATCH] tests:chomp cygpath --- tests/run_test.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/run_test.pl b/tests/run_test.pl index 2f2707e42c..78b7e940c8 100755 --- a/tests/run_test.pl +++ b/tests/run_test.pl @@ -133,6 +133,7 @@ unless (-d $o_cfg) { if ($o_cygwin) { $o_cfg = `cygpath -w $o_cfg`; + chomp($o_cfg); } my %blacklist; @@ -348,6 +349,8 @@ sub test_cmd { if ($o_cygwin) { $elf = `cygpath -w $elf`; $cfg = `cygpath -w $cfg`; + chomp($elf); + chomp($cfg); } if ($elf =~ /\.elf/) {