List:Commits« Previous MessageNext Message »
From:Saikumar V Date:August 1 2011 9:51am
Subject:bzr commit into mysql-5.5 branch (saikumar.v:3484)
View as plain text  
#At file:///home/saikumar/work/opt-test/mysql-5.5-wl-5710/ based on revid:saikumar.v@stripped

 3484 Saikumar V	2011-08-01
      Added negative tests for new options --mysqld and --my_print_defaults options.

    modified:
      mysql-test/r/mysql_plugin.result
      mysql-test/t/mysql_plugin.test
=== modified file 'mysql-test/r/mysql_plugin.result'
--- a/mysql-test/r/mysql_plugin.result	2011-07-29 15:47:24 +0000
+++ b/mysql-test/r/mysql_plugin.result	2011-08-01 09:50:59 +0000
@@ -51,11 +51,11 @@ ERROR: Cannot read plugin config file da
 # 
 # Attempt to use bad paths - mysqld
 #
-ERROR: Cannot access mysqld path '/not/there/at/all'.
+ERROR: Cannot access mysqld path '/mysqld_not_there/'.
 # 
-# Attempt to use bad paths - my-print-defaults
+# Attempt to use bad paths - my_print_defaults
 #
-ERROR: Cannot access my-print-defaults path '/not/there/at/all'.
+ERROR: Cannot access my-print-defaults path '/my_print_defaults_not_there/'.
 # 
 # Missing library
 #

=== modified file 'mysql-test/t/mysql_plugin.test'
--- a/mysql-test/t/mysql_plugin.test	2011-07-29 19:05:26 +0000
+++ b/mysql-test/t/mysql_plugin.test	2011-08-01 09:50:59 +0000
@@ -164,6 +164,21 @@ let $MYSQLD_BOOTSTRAP_CMD= $MYSQL_PLUGIN
 --exec $MYSQLD_BOOTSTRAP_CMD DISABLE daemon_example 2>&1
 
 --echo # 
+--echo # Attempt to use bad paths - mysqld
+--echo #
+let $MYSQLD_BOOTSTRAP_CMD= $MYSQL_PLUGIN -n --datadir=$MYSQLD_DATADIR --basedir=$MYSQL_BASEDIR --plugin-dir=$DAEMONEXAMPLE_DIR --mysqld=/mysqld_not_there/ --my_print_defaults=$MYSQL_MY_PRINT_DEFAULTS;
+--error 1,2,256
+--exec $MYSQLD_BOOTSTRAP_CMD DISABLE daemon_example 2>&1
+
+--echo # 
+--echo # Attempt to use bad paths - my_print_defaults
+--echo #
+let $MYSQLD_BOOTSTRAP_CMD= $MYSQL_PLUGIN -n --datadir=$MYSQLD_DATADIR --basedir=$MYSQL_BASEDIR --plugin-dir=$DAEMONEXAMPLE_DIR --mysqld=$MYSQLD --my_print_defaults=/my_print_defaults_not_there/;
+--error 1,2,256
+--exec $MYSQLD_BOOTSTRAP_CMD DISABLE daemon_example 2>&1
+
+
+--echo # 
 --echo # Missing library
 --echo #
 let $MYSQLD_BOOTSTRAP_CMD= $MYSQL_PLUGIN -n --datadir=$MYSQLD_DATADIR --basedir=$MYSQL_BASEDIR --plugin-dir=$DAEMONEXAMPLE_DIR --plugin-ini=$MYSQL_TEST_DIR/include/daemon_example_bad_soname.ini --mysqld=$MYSQLD --my_print_defaults=$MYSQL_MY_PRINT_DEFAULTS;


Attachment: [text/bzr-bundle] bzr/saikumar.v@oracle.com-20110801095059-373fx23l9czmuncr.bundle
Thread
bzr commit into mysql-5.5 branch (saikumar.v:3484) Saikumar V3 Aug