diff options
author | unknown <msvensson@neptunus.(none)> | 2006-11-21 15:58:05 +0100 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-11-21 15:58:05 +0100 |
commit | a4c1ce7f67871bc132f9d5c52ab4afa407273864 (patch) | |
tree | ac011c5d73480064f62529db8a37130ad6948c53 /mysql-test/lib | |
parent | 01532e3fe781f03d0cefb9f7b92ebf0a6ea91c80 (diff) | |
parent | d4aadb0613ab6cfbfd2210c9670a861cc595dc6e (diff) | |
download | mariadb-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.pl | 7 |
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"; |