From 4dc5ee744e99929d1ceb9ec493713580a6485f5b Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 12 Jun 2006 00:05:02 +0200 Subject: [PATCH] Only process lines that start with -- --- mysql-test/lib/mtr_cases.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mysql-test/lib/mtr_cases.pl b/mysql-test/lib/mtr_cases.pl index 52fac4aa1f4..f0905ac1859 100644 --- a/mysql-test/lib/mtr_cases.pl +++ b/mysql-test/lib/mtr_cases.pl @@ -529,6 +529,9 @@ sub mtr_options_from_test_file($$) { { chomp; + # Skip all lines not starting with "--" + next if ( ! /^--/ ); + # Match this line against tag in "tags" array foreach my $tag (@tags) {