]> git.sur5r.net Git - bacula/bacula/blob - regress/win32/scripts/cleanup.cmd
Final changes
[bacula/bacula] / regress / win32 / scripts / cleanup.cmd
1 @ECHO off
2 REM
3 REM Cleanup left over files -- both before and after test run
4 REM
5
6 CALL scripts\bacula stop >nul 2>&1
7
8 DEL /q /f \tmp\FileVolume* tmp\FileVolume* >nul 2>&1
9 DEL /q /f \tmp\TestVolume001 \tmp\Small* >nul 2>&1
10 RD /s /q \tmp\bacula-restores tmp\bacula-restores >nul 2>&1
11 DEL /q /f tmp\original tmp\Small* tmp\TestVolume* >nul 2>&1
12 DEL /q /f tmp\restored tmp\largefile tmp\bscan.bsr tmp\log*.out >nul 2>&1
13 DEL /q /f \tmp\sed_tmp \tmp\file-list >nul 2>&1
14 RD /s /q tmp\build >nul 2>&1
15 DEL /q /f tmp\restore-list tmp\restore2-list >nul 2>&1
16 DEL /q /f tmp\fd.out tmp\dir.out tmp\sd.out >nul 2>&1
17 DEL /q /f working\log tmp\TEST-* >nul 2>&1
18 DEL /q /f working\*.bsr >nul 2>&1
19 DEL /q /f tmp\disk-changer.cmd \tmp\disk-changer.cmd >nul 2>&1
20
21 CALL bin\drop_bacula_tables >nul 2>&1
22 CALL bin\make_bacula_tables >nul 2>&1
23 CALL bin\grant_bacula_privileges >nul 2>&1