From 670a46aa0a6f6a25e27c58d6ed70c5cb8904fc41 Mon Sep 17 00:00:00 2001 From: Magnus Svensson Date: Mon, 22 Sep 2008 18:44:35 +0300 Subject: [PATCH] Print 'cygpath -m' command if it fails --- mysql-test/lib/My/Platform.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql-test/lib/My/Platform.pm b/mysql-test/lib/My/Platform.pm index 630f14d957a..658e7c7eaef 100644 --- a/mysql-test/lib/My/Platform.pm +++ b/mysql-test/lib/My/Platform.pm @@ -69,8 +69,8 @@ sub mixed_path { if (IS_CYGWIN){ return unless defined $path; my $cmd= "cygpath -m $path"; - print "$cmd\n"; - $path= `$cmd`; + $path= `$cmd` or + print "Failed to run: '$cmd', $!\n"; chomp $path; } return $path;