Current Path : /home/usr.opt/mysql57/mysql-test/include/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/include/config_file_option_test.inc |
# This include file contains perl code to execute testing of startup options # with bootstrap in my.cnf. # Creator: Horst Hunger # Date: 2012-09-17 # # This is a dummy sql statement as mtr let the test fails without query. --disable_query_log --disable_result_log SELECT 1 ; --enable_query_log --enable_result_log perl; use strict; use lib "include"; use server_option_test; init_bootstrap() if not -d "$ENV{'MYSQLTEST_VARDIR'}/tmp/bootstrap"; my_cnf_bootstrap("$ENV{'TEST_OPTION'}","$ENV{'ADDITIONAL_OPTIONS'}"); my $found= check_bootstrap_log("$ENV{'LOG_PATTERN'}"); printf "Additional options: %-60s\n","$ENV{'ADDITIONAL_OPTIONS'}" if $ENV{'ADDITIONAL_OPTIONS'} ne ""; printf "%-60s %-20s". ($found==1 ? " passed\n" : " failed\n"), "'$ENV{'TEST_OPTION'}'", "in my.cnf:"; EOF