diff --git a/plugins/mezuro/test/run_acceptance_tests.sh b/plugins/mezuro/test/run_acceptance_tests.sh new file mode 100644 index 0000000..622f4dd --- /dev/null +++ b/plugins/mezuro/test/run_acceptance_tests.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +COMMAND_TEST = $1 + +# where are your .kalibro dir? +KALIBRO_HOME= ~/.kalibro + +# create a kalibro test dir +mkdir $KALIBRO_HOME/tests +cp $KALIBRO_HOME/kalibro_tests.settings $KALIBRO_HOME/tests/kalibro.settings + +# you must restart tomcat6 +#if you are using a tomcat installed from apt-get, for example: +#sudo service tomcat6 restart + +#if you are using a tomcat installed a specific dir, form exemplo: +#~/tomcat6/bin/shoutdown.sh +#~/tomcat6/bin/startup.sh + +# run test +COMMAND_TEST + +#back to normal mode +rm -rf $KALIBRO_HOME/tests + +# you must restart tomcat6 again +#sudo service tomcat6 restart -- libgit2 0.21.2