~raghavendra-prabhu/percona-xtradb-cluster/release-5.5.30-galera-2.x

« back to all changes in this revision

Viewing changes to tests/regressions/lp518749/run.sh

  • Committer: Ignacio Nin
  • Date: 2012-10-31 22:57:41 UTC
  • mfrom: (95.2.11 2.x)
  • Revision ID: ignacio.nin@percona.com-20121031225741-kzcz6072mwzfpaiw
MergeĀ fromĀ upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash -eu
2
2
 
 
3
 
3
4
declare -r DIST_BASE=$(cd $(dirname $0)/../..; pwd -P)
4
5
TEST_BASE=${TEST_BASE:-"$DIST_BASE"}
5
6
 
11
12
. $SCRIPTS/kill.sh
12
13
. $SCRIPTS/misc.sh
13
14
 
 
15
echo "regression test for lp:518749"
 
16
 
 
17
echo "restarting cluster"
 
18
$SCRIPTS/command.sh restart
 
19
 
14
20
mysql --user=$DBMS_ROOT_USER --password=$DBMS_ROOT_PSWD --host=${NODE_INCOMING_HOST[0]} --port=${NODE_INCOMING_PORT[0]} < mysqlfs.sql;
15
21
 
16
22
check;
22
28
fi
23
29
 
24
30
# Cleanup
25
 
mysql --user=$DBMS_ROOT_USER --password=$DBMS_ROOT_PSWD --host=${NODE_INCOMING_HOST[0]} --port=${NODE_INCOMING_PORT[0]} -e "DROP DATABASE mysqlfs";
 
 
b'\\ No newline at end of file'
 
31
mysql --user=$DBMS_ROOT_USER --password=$DBMS_ROOT_PSWD --host=${NODE_INCOMING_HOST[0]} --port=${NODE_INCOMING_PORT[0]} -e "DROP DATABASE mysqlfs";
 
32
 
 
33
$SCRIPTS/command.sh stop
 
 
b'\\ No newline at end of file'