]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/cleanup
Updates
[bacula/bacula] / regress / scripts / cleanup
index 7c8004e5c16387ec4fabea3eece5acaa3a9af21e..bca32b328dab0afb09a06def385169ed26b1b3f2 100755 (executable)
@@ -2,6 +2,18 @@
 #
 # Cleanup left over files -- both before and after test run
 #
-rm -rf /tmp/TestVolume001 /tmp/bacula-restores
-rm -rf tmp/original tmp/bacula-restores tmp/SmallVols* tmp/TestVolume*
-rm -rf tmp/restored tmp/largefile
+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 tmp/fd.out tmp/dir.out tmp/sd.out
+rm -rf working/log tmp/TEST-*
+rm -rf working/*restore*.bsr
+
+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 ..