]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/cleanup
Update
[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/sed_tmp /tmp/file-list
8 rm -rf tmp/*
9 rm -rf working/log tmp/TEST-*
10 rm -rf working/*.bsr
11 rm -rf /tmp/disk-changer
12 find . -name "gigaslam.gif" -exec rm -f {} \;
13
14 bin/bacula stop 2>&1 >/dev/null
15 cd bin
16 ./drop_bacula_tables >/dev/null 2>&1
17 ./make_bacula_tables >/dev/null 2>&1
18 ./grant_bacula_privileges >/dev/null 2>&1
19 cd ..