This commit is the result of the squash of the following main commits:
Author: Radoslaw Korzeniewski <radekk@inteos.pl>
Date: Mon Apr 16 16:35:23 2018 +0200
Fix 'grep -m' when '-m' option is not available.
Author: Radosław Korzeniewski <radekk@inteos.pl>
Date: Tue Jan 2 13:49:35 2018 +0100
regress: Add scripts for XenServer Plugin
regress: Fix for script for XenServer Plugin
regress: Fix syntax error in regression script
regress: Corrections to the regression scripts.
regress: More fixes to the regression test scripts for XenServer Plugin.
cp ${bin}/../scripts/storage*-ctl.conf ${cwd}/bin
cp ${bin}/../scripts/mtx-changer ${cwd}/bin
cp ${bin}/../scripts/mtx-changer.conf ${cwd}/bin
+ cp ${bin}/../scripts/btools.py ${cwd}/bin
+ cp -a ${bin}/../scripts/btoolslib ${cwd}/bin
cp ${bin}/bconsole ${cwd}/bin
cd ${cwd}/bin
for i in create_*_database drop_*_database drop_*_tables make_*_tables grant_*_privileges; do
bin/bacula stop -KILL
mkdir -p working
+chmod 755 bin
cd bin
+# workaround for postgres user when permission denied
+chown postgres *_postgresql_* 2> /dev/null
echo "Running database creation scripts"
./create_bacula_database
./drop_bacula_tables