summaryrefslogtreecommitdiff
path: root/mysql-test/lib
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-11-21 15:58:05 +0100
committerunknown <msvensson@neptunus.(none)>2006-11-21 15:58:05 +0100
commita4c1ce7f67871bc132f9d5c52ab4afa407273864 (patch)
treeac011c5d73480064f62529db8a37130ad6948c53 /mysql-test/lib
parent01532e3fe781f03d0cefb9f7b92ebf0a6ea91c80 (diff)
parentd4aadb0613ab6cfbfd2210c9670a861cc595dc6e (diff)
downloadmariadb-git-a4c1ce7f67871bc132f9d5c52ab4afa407273864.tar.gz
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint mysql-test/lib/mtr_report.pl: Auto merged mysql-test/mysql-test-run.pl: Auto merged
Diffstat (limited to 'mysql-test/lib')
-rw-r--r--mysql-test/lib/mtr_report.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/mysql-test/lib/mtr_report.pl b/mysql-test/lib/mtr_report.pl
index 8d7de9d1a4b..758e98984b8 100644
--- a/mysql-test/lib/mtr_report.pl
+++ b/mysql-test/lib/mtr_report.pl
@@ -34,7 +34,12 @@ sub mtr_verbose (@);
# We can't use diff -u or diff -a as these are not portable
sub mtr_show_failed_diff ($) {
- my $tname= shift;
+ my $result_file_name= shift;
+
+ # The reject and log files have been dumped to
+ # to filenames based on the result_file's name
+ my $tname= basename($result_file_name);
+ $tname=~ s/\..*$//;
my $reject_file= "r/$tname.reject";
my $result_file= "r/$tname.result";