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 working/*.trace
13 rm -rf ${cwd}/tmp/disk-changer
14 find . -name "gigaslam.gif" -exec rm -f {} \;
17 # bin directory does not always exist
20 bin/bacula stop 2>&1 >/dev/null
22 ./drop_bacula_tables >/dev/null 2>&1
23 ./make_bacula_tables >/dev/null 2>&1
24 ./grant_bacula_privileges >/dev/null 2>&1