3 # Script to setup running Bacula regression tests
7 echo "Incorrect number of arguments. Got $#. Need:"
8 echo "setup bacula-src email-address --with-DBNAME --with-tcp-wrappers"
13 echo "Arg 1 must be a Bacula release directory."
19 echo "Copying source from $1"
21 cp scripts/regress-config build
23 rm -f Makefile config.cache
24 # Run Bacula configuration, make, install
25 ./regress-config ${cwd} $2 $3 $4 $5
28 cp src/tools/testls ../bin
33 ./create_bacula_database
36 ./grant_bacula_privileges
38 # Start and stop Bacula to ensure conf files are OK
42 # Save Bacula default conf files for later use
44 cp -f bin/*.conf scripts