Commit f44759c7 authored by unknown's avatar unknown

IM test suite fix.

Log messages from shell-scripts were put to var/log/<test id>.log
file. Now, this file is used by mysql-test-run.pl. So, move log
messages to var/log/<test id>.script.log.


mysql-test/t/kill_n_check.sh:
  Log messages from shell-scripts were put to var/log/<test id>.log
  file. Now, this file is used by mysql-test-run.pl. So, move log
  messages to var/log/<test id>.script.log.
mysql-test/t/log.sh:
  Log messages from shell-scripts were put to var/log/<test id>.log
  file. Now, this file is used by mysql-test-run.pl. So, move log
  messages to var/log/<test id>.script.log.
mysql-test/t/wait_for_process.sh:
  Log messages from shell-scripts were put to var/log/<test id>.log
  file. Now, this file is used by mysql-test-run.pl. So, move log
  messages to var/log/<test id>.script.log.
mysql-test/t/wait_for_socket.sh:
  Log messages from shell-scripts were put to var/log/<test id>.log
  file. Now, this file is used by mysql-test-run.pl. So, move log
  messages to var/log/<test id>.script.log.
parent 94d4f324
...@@ -53,7 +53,7 @@ pid_path="$1" ...@@ -53,7 +53,7 @@ pid_path="$1"
expected_result="$2" expected_result="$2"
total_timeout="$3" total_timeout="$3"
test_id="$4" test_id="$4"
log_file="$MYSQLTEST_VARDIR/log/$test_id.log" log_file="$MYSQLTEST_VARDIR/log/$test_id.script.log"
log_debug "-- $basename: starting --" log_debug "-- $basename: starting --"
log_debug "pid_path: '$pid_path'" log_debug "pid_path: '$pid_path'"
......
...@@ -17,7 +17,7 @@ if [ $# -lt 2 ]; then ...@@ -17,7 +17,7 @@ if [ $# -lt 2 ]; then
fi fi
test_id="$1" test_id="$1"
log_file="$MYSQLTEST_VARDIR/log/$test_id.log" log_file="$MYSQLTEST_VARDIR/log/$test_id.script.log"
shift shift
......
...@@ -63,7 +63,7 @@ pid_path="$1" ...@@ -63,7 +63,7 @@ pid_path="$1"
total_attempts="$2" total_attempts="$2"
event="$3" event="$3"
test_id="$4" test_id="$4"
log_file="$MYSQLTEST_VARDIR/log/$test_id.log" log_file="$MYSQLTEST_VARDIR/log/$test_id.script.log"
log_debug "-- $basename: starting --" log_debug "-- $basename: starting --"
log_debug "pid_path: '$pid_path'" log_debug "pid_path: '$pid_path'"
......
...@@ -30,7 +30,7 @@ password="$4" ...@@ -30,7 +30,7 @@ password="$4"
db="$5" db="$5"
total_timeout="$6" total_timeout="$6"
test_id="$7" test_id="$7"
log_file="$MYSQLTEST_VARDIR/log/$test_id.log" log_file="$MYSQLTEST_VARDIR/log/$test_id.script.log"
log_debug "-- $basename: starting --" log_debug "-- $basename: starting --"
log_debug "client_exe: '$client_exe'" log_debug "client_exe: '$client_exe'"
......
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