Run mysql_client_test without --silent

Flush both stdout and stderr before abort'ing mysql_client_test
parent 3df77e48
...@@ -1735,7 +1735,7 @@ sub environment_setup () { ...@@ -1735,7 +1735,7 @@ sub environment_setup () {
# Setup env so childs can execute mysql_client_test # Setup env so childs can execute mysql_client_test
# ---------------------------------------------------- # ----------------------------------------------------
my $cmdline_mysql_client_test= my $cmdline_mysql_client_test=
"$exe_mysql_client_test --no-defaults --testcase --user=root --silent " . "$exe_mysql_client_test --no-defaults --testcase --user=root " .
"--port=$master->[0]->{'port'} " . "--port=$master->[0]->{'port'} " .
"--socket=$master->[0]->{'path_sock'}"; "--socket=$master->[0]->{'path_sock'}";
if ( $mysql_version_id >= 50000 ) if ( $mysql_version_id >= 50000 )
......
...@@ -113,7 +113,9 @@ static void client_disconnect(); ...@@ -113,7 +113,9 @@ static void client_disconnect();
void die(const char *file, int line, const char *expr) void die(const char *file, int line, const char *expr)
{ {
fflush(stdout);
fprintf(stderr, "%s:%d: check failed: '%s'\n", file, line, expr); fprintf(stderr, "%s:%d: check failed: '%s'\n", file, line, expr);
fflush(stderr);
abort(); abort();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment