From 551ab51c91d8c53c2798a50fc9a0ceca10610ddd Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 10 Mar 2008 14:09:59 +0100 Subject: Print args in case requirement fails --- mysql-test/lib/My/SafeProcess.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mysql-test') diff --git a/mysql-test/lib/My/SafeProcess.pm b/mysql-test/lib/My/SafeProcess.pm index 1c7672d1816..dc600cbb7c5 100644 --- a/mysql-test/lib/My/SafeProcess.pm +++ b/mysql-test/lib/My/SafeProcess.pm @@ -124,8 +124,8 @@ sub new { @_ ); - my $path = delete($opts{'path'}) or die "path required"; - my $args = delete($opts{'args'}) or die "args required"; + my $path = delete($opts{'path'}) or die "path required @_"; + my $args = delete($opts{'args'}) or die "args required @_"; my $input = delete($opts{'input'}); my $output = delete($opts{'output'}); my $error = delete($opts{'error'}); -- cgit v1.2.1