mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Create 'main' test directory and move 't' and 'r' there
This commit is contained in:
16
mysql-test/main/mysqltest_cont_on_error.test
Normal file
16
mysql-test/main/mysqltest_cont_on_error.test
Normal file
@ -0,0 +1,16 @@
|
||||
#
|
||||
# mysqltest --continue-on-error
|
||||
#
|
||||
|
||||
-- source include/not_embedded.inc
|
||||
|
||||
#
|
||||
# with or without --continue-on-error the failing test should return an error
|
||||
# but with --continue-on-error, the failing line does not abort the test
|
||||
#
|
||||
|
||||
--error 1
|
||||
--exec echo "select error; select 1;" | $MYSQL_TEST 2>&1
|
||||
|
||||
--exec echo "SELECT ERROR; SELECT 2;" | $MYSQL_TEST --continue-on-error 2>&1
|
||||
|
Reference in New Issue
Block a user