~raghavendra-prabhu/percona-xtrabackup/Bug-1182995

« back to all changes in this revision

Viewing changes to test/t/xb_galera_info.sh

  • Committer: Raghavendra D Prabhu
  • Date: 2013-05-22 17:17:39 UTC
  • Revision ID: raghavendra.prabhu@percona.com-20130522171739-1vn2243dmvuk943m
Bug#1182995: Testcase for Xtrabackup for PXC SST.

This commit adds a test case for Xtrabackup involving SST Basically,   .
it starts two servers, does a Xtrabackup SST between them and finally  .
checks for galera co-ordinates in the xtrabackup_galera_info file and  .
matches it with that in the server                                     .

Few other things fixed include:

a) Correct prefix for galera library.

b) Added a special condition to common.sh to avoid mysql_install_db.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
. inc/common.sh
2
2
 
 
3
GPREFIX="${MYSQL_BASEDIR}/lib/libgalera_smm.so"
 
4
mysql_config --libs | grep -q lib64 && GPREFIX="${MYSQL_BASEDIR}/lib64/libgalera_smm.so"
 
5
 
3
6
set +e
4
7
${MYSQLD} --basedir=$MYSQL_BASEDIR --user=$USER --help --verbose --wsrep-sst-method=rsync| grep -q wsrep
5
8
probe_result=$?