1
by brian
clean slate |
1 |
#! /bin/sh
|
2 |
||
3 |
# Sasha's hack to fix results generated with mysql-test-run --record
|
|
4 |
# to be version and test port independent. In some cases, further minor
|
|
5 |
# manual edititing may be required, but most of the time it should not
|
|
6 |
# happen
|
|
7 |
||
8 |
#It is assumed we are running the script in mysql-test directory
|
|
9 |
||
10 |
VERSION=4.0.1-alpha-debug-log |
|
11 |
TEST_CASE=$1 |
|
12 |
||
13 |
if [ -z "$TEST_CASE" ] ; |
|
14 |
then
|
|
15 |
echo "usage: $0 test_case_name" |
|
16 |
exit 1 |
|
17 |
fi
|
|
18 |
||
19 |
../extra/replace $VERSION '$VERSION' 9306 '$MASTER_MYPORT' 9307 \ |
|
20 |
'$SLAVE_MYPORT' \\ \\\\ -- r/$TEST_CASE.result |
|
21 |
||
22 |