From 93d835213e1c5bb6bad455ef6a4877a960e638f3 Mon Sep 17 00:00:00 2001 From: Magnus Svensson Date: Mon, 11 Aug 2008 10:41:23 +0200 Subject: Debug printouts --- mysql-test/lib/My/Platform.pm | 4 +++- mysql-test/lib/mtr_unique.pm | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mysql-test/lib/My/Platform.pm b/mysql-test/lib/My/Platform.pm index 1db6985771d..cee0c8778fe 100644 --- a/mysql-test/lib/My/Platform.pm +++ b/mysql-test/lib/My/Platform.pm @@ -66,7 +66,9 @@ sub mixed_path { my ($path)= @_; if (IS_CYGWIN){ return unless defined $path; - $path= `cygpath -m $path`; + my $cmd= "cygpath -m $path"; + print "$cmd\n"; + $path= `$cmd`; chomp $path; } return $path; diff --git a/mysql-test/lib/mtr_unique.pm b/mysql-test/lib/mtr_unique.pm index 22a23644540..b4093ab1dce 100644 --- a/mysql-test/lib/mtr_unique.pm +++ b/mysql-test/lib/mtr_unique.pm @@ -88,7 +88,8 @@ sub mtr_get_unique_id($$) { msg("taken: $id, $pid"); # Check if process with given pid is alive if(!process_alive($pid)) { - msg("Removing slot $id used by missing process $pid");; + print "Removing slot $id used by missing process $pid\n"; + msg("Removing slot $id used by missing process $pid"); delete $taken{$id}; $changed++; } -- cgit v1.2.1