mirror of
https://github.com/MariaDB/server.git
synced 2025-05-10 02:01:19 +03:00
It's impossible to determine which test inside mysql_client_test failed if the log file is overwritten by mysqltest when dumping the test case results. Redirect mysql_client_test output to a separate file. mysql-test/t/mysql_client_test.test: Redirect mysql_client_test output to a separate log file so it doesn't get overwritten by mysqltest.
17 lines
625 B
Plaintext
17 lines
625 B
Plaintext
# This test should work in embedded server after we fix mysqltest
|
|
-- source include/not_embedded.inc
|
|
|
|
# We run with different binaries for normal and --embedded-server
|
|
#
|
|
# If this test fails with "command "$MYSQL_CLIENT_TEST" failed",
|
|
# you should either run mysql_client_test separartely against a running
|
|
# server or run mysql-test-run --debug mysql_client_test and check
|
|
# var/log/mysql_client_test.trace
|
|
|
|
--exec echo "$MYSQL_CLIENT_TEST" > $MYSQLTEST_VARDIR/log/mysql_client_test.out 2>&1
|
|
--exec $MYSQL_CLIENT_TEST --getopt-ll-test=25600M >> $MYSQLTEST_VARDIR/log/mysql_client_test.out 2>&1
|
|
|
|
# End of 4.1 tests
|
|
echo ok;
|
|
|