summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2000-12-16 01:17:13 +0200
committerunknown <monty@donna.mysql.com>2000-12-16 01:17:13 +0200
commit587387f5d0af6a4381c99bc3da4f87bae63f5cef (patch)
tree14bcbe3d9fe5425348e6a65b38a4201b7c314815 /mysql-test
parent68d0f88c5e85c412ba2539e7e107a6de54e03af5 (diff)
downloadmariadb-git-587387f5d0af6a4381c99bc3da4f87bae63f5cef.tar.gz
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
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/README12
-rwxr-xr-xmysql-test/mysql-test-run.sh8
2 files changed, 13 insertions, 7 deletions
diff --git a/mysql-test/README b/mysql-test/README
index f33218b617c..ca7284d173a 100644
--- a/mysql-test/README
+++ b/mysql-test/README
@@ -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 < t/test_case_name.test > r/test_case_name.result
- mysql-test-run --record --record-file=r/test_case_name.result < t/test_case_name.test
+ 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
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh
index 90277be13ff..6887eb5323c 100755
--- a/mysql-test/mysql-test-run.sh
+++ b/mysql-test/mysql-test-run.sh
@@ -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