3 # Cleanup left over files -- both before and after test run
5 rm -rf /tmp/FileVolume* tmp/FileVolume*
6 rm -rf /tmp/TestVolume001 /tmp/bacula-restores /tmp/Small*
7 rm -rf tmp/original tmp/bacula-restores tmp/Small* tmp/TestVolume*
8 rm -rf tmp/restored tmp/largefile tmp/bscan.bsr tmp/log*.out
9 rm -rf /tmp/sed_tmp /tmp/file-list
10 rm -rf tmp/build tmp/restore-list tmp/restore2-list
11 rm -rf tmp/fd.out tmp/dir.out tmp/sd.out tmp/*.jpg
12 rm -rf working/log tmp/TEST-*
14 rm -rf tmp/disk-changer /tmp/disk-changer
15 find . -name "gigaslam.gif" -exec rm -f {} \;
17 bin/bacula stop 2>&1 >/dev/null
19 ./drop_bacula_tables >/dev/null 2>&1
20 ./make_bacula_tables >/dev/null 2>&1
21 ./grant_bacula_privileges >/dev/null 2>&1