You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
535 B

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