2006-12-04 12:05:27 +01:00
|
|
|
#!/bin/sh
|
2006-11-23 20:55:36 +01:00
|
|
|
|
|
|
|
###########################################################################
|
|
|
|
|
|
|
|
basename=`basename "$0"`
|
|
|
|
dirname=`dirname "$0"`
|
|
|
|
|
|
|
|
###########################################################################
|
|
|
|
|
|
|
|
. "$dirname/utils.sh"
|
|
|
|
|
|
|
|
###########################################################################
|
|
|
|
|
|
|
|
if [ $# -lt 2 ]; then
|
|
|
|
echo "Usage: $basename <test id> log message ..."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
test_id="$1"
|
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.
2007-02-24 11:12:20 +01:00
|
|
|
log_file="$MYSQLTEST_VARDIR/log/$test_id.script.log"
|
2006-11-23 20:55:36 +01:00
|
|
|
|
|
|
|
shift
|
|
|
|
|
|
|
|
log_debug "$*"
|