From a7ebfc4a4d474a8fef8bd7589e0e4b53d4fae103 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Jul 10 2013 18:58:02 +0000 Subject: printing some more information on hostname variables for mysql connection test --- diff --git a/tests/p_mysql/mysqld_conn_test.sh b/tests/p_mysql/mysqld_conn_test.sh index 25ce173..41a5be3 100755 --- a/tests/p_mysql/mysqld_conn_test.sh +++ b/tests/p_mysql/mysqld_conn_test.sh @@ -3,6 +3,9 @@ t_Log "Running $0 - mysqld client can talk to mysql server." HostName=$(hostname -s) MySqlHostName=$(mysql -N -B -u root -e "show variables like 'hostname'" | cut -f 2 | cut -d . -f 1) +# printing both variables for debugging purposes +echo $HostName +echo ${MySqlHostName} if [ $HostName = ${MySqlHostName} ]; then ret_val=0 else