mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Configure updates
Fixed my_print_defaults --no-defaults Docs/manual.texi: Updated changelog acinclude.m4: Patches for large file support configure.in: New TCP libwrap extra/my_print_defaults.c: Fixed that --no-defaults include/my_pthread.h: Fixes for Tru64 ltconfig: Fixes for Tru64 ltmain.sh: Fixes for Tru64 mysql-test/README: Fixed types mysql-test/mysql-test-run.sh: Changed to long options
This commit is contained in:
@ -22,14 +22,20 @@ You can create your own test cases. To create a test case:
|
||||
If you are using mysqltest commands (like result file names) in your
|
||||
test case you should do create the result file as follows:
|
||||
|
||||
mysql-test-run --record < t/test_case_name.test
|
||||
mysql-test-run --record test_case_name
|
||||
|
||||
or
|
||||
|
||||
mysqltest --record < t/test_case_name.test
|
||||
|
||||
If you only have a simple test cases consistent of SQL commands and comments
|
||||
you can create the test case one of the following ways:
|
||||
|
||||
mysql < t/test_case_name.test > r/test_case_name.result
|
||||
mysql-test-run --record test_case_name
|
||||
|
||||
mysql-test-run --record --record-file=r/test_case_name.result < t/test_case_name.test
|
||||
mysql test < t/test_case_name.test > r/test_case_name.result
|
||||
|
||||
mysqltest --record --record-file=r/test_case_name.result < t/test_case_name.test
|
||||
|
||||
When this is done, take a look at r/test_case_name.result
|
||||
- If the result is wrong, you have found a bug; In this case you should
|
||||
|
@ -135,19 +135,19 @@ MYSQL_TEST="$MYSQL_TEST --no-defaults --socket=$MASTER_MYSOCK --database=$DB --u
|
||||
GDB_MASTER_INIT=/tmp/gdbinit.master
|
||||
GDB_SLAVE_INIT=/tmp/gdbinit.slave
|
||||
|
||||
if [ "$1" = "-force" ] ; then
|
||||
if [ "$1" = "--force" ] ; then
|
||||
FORCE=1
|
||||
shift 1
|
||||
fi
|
||||
|
||||
|
||||
if [ "$1" = "-record" ] ; then
|
||||
if [ "$1" = "--record" ] ; then
|
||||
RECORD=1
|
||||
shift 1
|
||||
fi
|
||||
|
||||
|
||||
if [ "$1" = "-gcov" ];
|
||||
if [ "$1" = "--gcov" ];
|
||||
then
|
||||
if [ x$BINARY_DIST = x1 ] ; then
|
||||
echo "Cannot do coverage test without the source - please us source dist"
|
||||
@ -483,7 +483,7 @@ run_testcase ()
|
||||
$ECHO
|
||||
$ECHO
|
||||
if [ x$FORCE != x1 ] ; then
|
||||
echo "Aborting, if you want to continue, re-run with -force"
|
||||
echo "Aborting, if you want to continue, re-run with --force"
|
||||
mysql_stop
|
||||
exit 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user