diff options
author | unknown <msvensson@pilot.(none)> | 2007-05-31 15:58:22 +0200 |
---|---|---|
committer | unknown <msvensson@pilot.(none)> | 2007-05-31 15:58:22 +0200 |
commit | 7ff06317a44b700226a64ae5a0f2ab5d2433b9a0 (patch) | |
tree | 4bd575cc791d01652bab2250cd8355d2c723029c /mysql-test/t/mysqltest.test | |
parent | 4507f7ed4cd57979e363041206b08963fcb74096 (diff) | |
download | mariadb-git-7ff06317a44b700226a64ae5a0f2ab5d2433b9a0.tar.gz |
Bug#28373 mysqltest test case fails with binlog disabled
- Update tests to be independent how the mysqld was started
mysql-test/r/mysqltest.result:
Update result file
mysql-test/t/mysqltest.test:
The purpose of these three test is to check that "sync_with_master"
detects illegal parameters, the parameter checking is done before
sending any command to the server and the "save_master_pos" can be
removed in two cases to make the tests independent of mysqld.
The thirs test is removed since it's a syntax check that is done
after the command has been executed and is done for all comands in
mysqltest - it's tested elsewhere and is not specific to "sync_with_master"
Diffstat (limited to 'mysql-test/t/mysqltest.test')
-rw-r--r-- | mysql-test/t/mysqltest.test | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mysql-test/t/mysqltest.test b/mysql-test/t/mysqltest.test index 057432d37fd..702ea2106f6 100644 --- a/mysql-test/t/mysqltest.test +++ b/mysql-test/t/mysqltest.test @@ -1227,11 +1227,9 @@ select "a" as col1, "c" as col2; # Test sync_with_master # ---------------------------------------------------------------------------- --error 1 ---exec echo "save_master_pos; sync_with_master 10!;" | $MYSQL_TEST 2>&1 +--exec echo "sync_with_master 10!;" | $MYSQL_TEST 2>&1 --error 1 ---exec echo "save_master_pos; sync_with_master 10 !;" | $MYSQL_TEST 2>&1 ---error 1 ---exec echo "save_master_pos; sync_with_master a;" | $MYSQL_TEST 2>&1 +--exec echo "sync_with_master a;" | $MYSQL_TEST 2>&1 # ---------------------------------------------------------------------------- # Test connect |