3 # Cleanup left over files -- both before and after test run
5 rm -rf /tmp/TestVolume001 /tmp/bacula-restores /tmp/Small*
6 rm -rf tmp/original tmp/bacula-restores tmp/Small* tmp/TestVolume*
7 rm -rf tmp/restored tmp/largefile tmp/bscan.bsr tmp/log*.out
8 rm -rf /tmp/sed_tmp /tmp/file-list
9 rm -rf tmp/build tmp/restore-list tmp/restore2-list
10 rm -rf tmp/fd.out tmp/dir.out tmp/sd.out
11 rm -rf working/log tmp/TEST-*
12 rm -rf working/*restore*.bsr
14 bin/bacula stop 2>&1 >/dev/null
16 ./drop_bacula_tables >/dev/null 2>&1
17 ./make_bacula_tables >/dev/null 2>&1
18 ./grant_bacula_privileges >/dev/null 2>&1