#At file:///home/bm136801/my/23533-51/ based on revid:serge.kozlov@stripped
3658 Bjorn Munch 2011-04-14
Bug #12360195 MTR DOES NOT IGNORE TABS IN EXPERIMENTAL FILE
Instead of just filtering space, filter white space (\s)
I left the default.experimental file as is, with tabs.
modified:
mysql-test/mysql-test-run.pl
=== modified file 'mysql-test/mysql-test-run.pl'
--- a/mysql-test/mysql-test-run.pl 2011-02-09 08:30:44 +0000
+++ b/mysql-test/mysql-test-run.pl 2011-04-14 10:59:06 +0000
@@ -1123,7 +1123,7 @@ sub command_line_setup {
chomp;
# remove comments (# foo) at the beginning of the line, or after a
# blank at the end of the line
- s/( +|^)#.*$//;
+ s/(\s+|^)#.*$//;
# If @ platform specifier given, use this entry only if it contains
# @<platform> or @!<xxx> where xxx != platform
if (/\@.*/)
@@ -1134,8 +1134,8 @@ sub command_line_setup {
s/\@.*$//;
}
# remove whitespace
- s/^ +//;
- s/ +$//;
+ s/^\s+//;
+ s/\s+$//;
# if nothing left, don't need to remember this line
if ( $_ eq "" ) {
next;
Attachment: [text/bzr-bundle] bzr/bjorn.munch@oracle.com-20110414105906-0roc8o3ovxa2lyh3.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1 branch (bjorn.munch:3658) Bug#12360195 | Bjorn Munch | 14 Apr |