3 # Cleanup left over files -- both before and after test run
7 rm -rf ${tmp}/FileVolume*
8 rm -rf ${tmp}/TestVolume001 ${tmp}bacula-restores ${tmp}/Small*
9 rm -rf ${tmp}/sed_tmp ${tmp}/file-list
11 rm -rf ${working}/log ${tmp}/TEST-*
12 rm -rf ${working}/log ${tmp}/Backup-*
13 rm -rf ${working}/*.bsr ${working}/log*.sd
14 rm -rf ${working}/*.trace ${working}/*.traceback ${working}/*.lockdump
16 rm -rf ${tmp}disk-changer
17 rm -f ${cwd}/bin/plugins/test-plugin-fd.so
18 find . -name "gigaslam.gif" -exec rm -f {} \;
21 # bin directory does not always exist
22 if [ -d ${bin} ] ; then
23 if [ -f ${bin}/bacula ] ; then
24 ${bin}/bacula stop 2>&1 >/dev/null
27 ./drop_bacula_tables >/dev/null 2>&1
28 ./make_bacula_tables >/dev/null 2>&1
29 ./grant_bacula_privileges >/dev/null 2>&1
33 if [ x$USE_VTAPE = xyes ]; then