~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/fix-result

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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