summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/t/bad_option_2.test
blob: d6c2b9051673d2341a8c6ac2e6ae6c7b4cdf16f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Tests for PERFORMANCE_SCHEMA
# Check error handling for ambiguous server start options

--source include/not_embedded.inc
--source include/have_perfschema.inc

--source include/kill_mysqld.inc

let $outfile= $MYSQLTEST_VARDIR/tmp/bad_option_2.txt;
--disable_warnings
--error 0,1
--remove_file $outfile
--enable_warnings
--error 3
--exec $MYSQLD_BOOTSTRAP_CMD --loose-console --enable-getopt-prefix-matching --performance-schema-max_=12 > $outfile 2>&1
--let SEARCH_PATTERN=ambiguous option '--performance-schema-max_=12'
--let SEARCH_FILE=$outfile
--source include/search_pattern_in_file.inc
--remove_file $outfile

--source include/start_mysqld.inc