]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/cleanup
Final changes
[bacula/bacula] / regress / scripts / cleanup
1 #!/bin/sh
2 #
3 # Cleanup left over files -- both before and after test run
4 #
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
12 rm -rf working/log tmp/TEST-*
13 rm -rf working/*.bsr
14 rm -rf tmp/disk-changer /tmp/disk-changer
15 find . -name "gigaslam.gif" -exec rm -f {} \;
16
17 bin/bacula stop 2>&1 >/dev/null
18 cd bin
19 ./drop_bacula_tables >/dev/null 2>&1
20 ./make_bacula_tables >/dev/null 2>&1
21 ./grant_bacula_privileges >/dev/null 2>&1
22 cd ..