fix condition for named test (#146)
This commit is contained in:
@ -1,5 +0,0 @@
|
||||
export curr_dir=`pwd`
|
||||
cd $HOME/mdbci
|
||||
$HOME/mdbci/mdbci snapshot revert --path-to-nodes $1 --snapshot-name $2
|
||||
cd $curr_dir
|
||||
|
@ -70,7 +70,7 @@ if [ $res == 0 ] ; then
|
||||
. ${script_dir}/configure_backend.sh
|
||||
${mdbci_dir}/mdbci snapshot take --path-to-nodes $name --snapshot-name clean
|
||||
|
||||
if [ -z "${named_test}" ] ; then
|
||||
if [ ! -z "${named_test}" ] ; then
|
||||
./${named_test}
|
||||
else
|
||||
./check_backend
|
||||
|
@ -90,8 +90,8 @@ export sysbench_dir=${sysbench_dir:-"$HOME/sysbench_deb7/sysbench/"}
|
||||
|
||||
export ssl=true
|
||||
|
||||
export take_snapshot_command="${script_dir}/take_snapshot.sh $config_name"
|
||||
export revert_snapshot_command="${script_dir}/revert_snapshot.sh $config_name"
|
||||
export take_snapshot_command="${mdbci_dir}/mdbci snapshot take --path-to-nodes $name --snapshot-name "
|
||||
export revert_snapshot_command="${mdbci_dir}/mdbci snapshot revert --path-to-nodes $name --snapshot-name "
|
||||
#export use_snapshots=yes
|
||||
|
||||
set +x
|
||||
|
@ -1,5 +0,0 @@
|
||||
export curr_dir=`pwd`
|
||||
cd $HOME/mdbci
|
||||
$HOME/mdbci/mdbci snapshot take --path-to-nodes $1 --snapshot-name $2
|
||||
cd $curr_dir
|
||||
|
Reference in New Issue
Block a user