]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/cleanup
Tweak errors-test
[bacula/bacula] / regress / scripts / cleanup
index 4e13d2bf59891c6bc80178f1ee98fd6e10e154b4..b52f6e381dd883a4bf9a61962e1a0bc8022c9536 100755 (executable)
@@ -2,9 +2,18 @@
 #
 # Cleanup left over files -- both before and after test run
 #
+rm -rf /tmp/FileVolume* tmp/FileVolume*  
 rm -rf /tmp/TestVolume001 /tmp/bacula-restores /tmp/Small*
-rm -rf tmp/original tmp/bacula-restores tmp/Small* tmp/TestVolume*
-rm -rf tmp/restored tmp/largefile tmp/bscan.bsr tmp/log*.out
 rm -rf /tmp/sed_tmp /tmp/file-list
-rm -rf tmp/build tmp/restore-list tmp/restore2-list
-rm -rf working/log
+rm -rf tmp/*
+rm -rf working/log tmp/TEST-*
+rm -rf working/*.bsr
+rm -rf /tmp/disk-changer
+find . -name "gigaslam.gif" -exec rm -f {} \;
+
+bin/bacula stop 2>&1 >/dev/null
+cd bin
+./drop_bacula_tables >/dev/null 2>&1
+./make_bacula_tables >/dev/null 2>&1
+./grant_bacula_privileges >/dev/null 2>&1
+cd ..