3 # Cleanup left over files -- both before and after test run
6 rm -rf ${cwd}/tmp/FileVolume*
7 rm -rf ${cwd}/tmp/TestVolume001 ${cwd}/tmp/bacula-restores ${cwd}/tmp/Small*
8 rm -rf ${cwd}/tmp/sed_tmp ${cwd}/tmp/file-list
10 rm -rf working/log tmp/TEST-*
12 rm -rf ${cwd}/tmp/disk-changer
13 find . -name "gigaslam.gif" -exec rm -f {} \;
16 # bin directory does not always exist
19 bin/bacula stop 2>&1 >/dev/null
21 ./drop_bacula_tables >/dev/null 2>&1
22 ./make_bacula_tables >/dev/null 2>&1
23 ./grant_bacula_privileges >/dev/null 2>&1