# Script to setup running Bacula regression tests
#
cwd=`pwd`
-if [ $# != 4 ] ; then
+if [ $# != 5 ] ; then
echo "Incorrect number of arguments. Got $#. Need:"
echo "setup bacula-src email-address --with-DBNAME --with-tcp-wrappers"
echo " "
cd build
rm -f Makefile config.cache
# Run Bacula configuration, make, install
-./regress-config ${cwd} $2 $3 $4
+./regress-config ${cwd} $2 $3 $4 $5
make
make install
cp src/tools/testls ../bin