OK, let's make --defaults-file and --defaults-extra-file mutually exclusive in innobackupex (and document it).
Regarding the test case, what if we change the way the default configuration file is defined by the test suite? I.e. instead of:
IB_ARGS="--defaults-file=${MYSQLD_VARDIR}/my.cnf --user=root \ --socket=${MYSQLD_SOCKET} --ibbackup=$XB_BIN"
do this:
export MYSQL_HOME=$MYSQLD_VARDIR IB_ARGS="--user=root \ --socket=${MYSQLD_SOCKET} --ibbackup=$XB_BIN"
This should make creating a test case possible, and also fix bug #1072695.
OK, let's make --defaults-file and --defaults- extra-file mutually exclusive in innobackupex (and document it).
Regarding the test case, what if we change the way the default configuration file is defined by the test suite? I.e. instead of:
IB_ARGS= "--defaults- file=${ MYSQLD_ VARDIR} /my.cnf --user=root \ ${MYSQLD_ SOCKET} --ibbackup=$XB_BIN"
--socket=
do this:
export MYSQL_HOME= $MYSQLD_ VARDIR "--user= root \ ${MYSQLD_ SOCKET} --ibbackup=$XB_BIN"
IB_ARGS=
--socket=
This should make creating a test case possible, and also fix bug #1072695.