diff options
author | unknown <msvensson@neptunus.(none)> | 2006-12-12 12:28:02 +0100 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-12-12 12:28:02 +0100 |
commit | f9f026c5f87ecf3c496d4c128206d71070586b61 (patch) | |
tree | a695ca9a063107d5ad99e15f1ff938921da0d9db | |
parent | 58ca833a3f0b9c554ee5b4290f025bce007401f1 (diff) | |
download | mariadb-git-f9f026c5f87ecf3c496d4c128206d71070586b61.tar.gz |
Improve error message that describes waitpid($pid) returned unexpected result
-rw-r--r-- | mysql-test/lib/mtr_process.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/lib/mtr_process.pl b/mysql-test/lib/mtr_process.pl index cf0dc0dc6f8..9cf013d4e9d 100644 --- a/mysql-test/lib/mtr_process.pl +++ b/mysql-test/lib/mtr_process.pl @@ -220,7 +220,8 @@ sub spawn_parent_impl { my $ret_pid= waitpid($pid,0); if ( $ret_pid != $pid ) { - mtr_error("$path ($pid) got lost somehow"); + mtr_error("waitpid($pid, 0) returned $ret_pid " . + "when waiting for '$path'"); } return mtr_process_exit_status($?); |