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

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

let $outfile= $MYSQLTEST_VARDIR/tmp/bad_option_2.txt;
--error 0,1
--remove_file $outfile
--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