3
test -z ${PERCONA_SERVER} && export PERCONA_SERVER=Percona-Server
4
echo PERCONA_SERVER=${PERCONA_SERVER}
8
echo "Installing mysql-test files: $2"
9
find $1 -iname '*.test' -exec install -m 644 {} ${PERCONA_SERVER}/mysql-test/t/ ';'
10
find $1 -iname '*.opt' -exec install -m 644 {} ${PERCONA_SERVER}/mysql-test/t/ ';'
11
find $1 -iname '*.result' -exec install -m 644 {} ${PERCONA_SERVER}/mysql-test/r/ ';'
12
find $1 -iname '*.require' -exec install -m 644 {} ${PERCONA_SERVER}/mysql-test/r/ ';'
13
find $1 -iname '*.inc' -exec install -m 644 {} ${PERCONA_SERVER}/mysql-test/include/ ';'
16
install_path mysql-test "global"
17
for test_name in `cat series`; do
18
test -d mysql-test/$test_name && install_path mysql-test/$test_name $test_name