]> git.sur5r.net Git - bacula/bacula/blob - regress/regress/win32/tests/recycle-test.cmd
Copy trunk regress into Branch-2.2
[bacula/bacula] / regress / regress / win32 / tests / recycle-test.cmd
1 REM
2 REM Run a simple backup of the Bacula build directory but 
3 REM   create three volumes and do six backups causing the
4 REM   volumes to be recycled, and cycling through the volumes
5 REM   twice. Tests maxvoljobs and volretention.
6 REM
7 SET TestName=recycle-test
8 SET JobName=Recycle
9
10 CALL scripts\functions set_debug 0
11 CALL scripts\functions copy_test_confs
12
13 ECHO %CD:\=/%/build >tmp\file-list
14
15 CALL scripts\functions change_jobname NightlySave %JobName%
16 CALL scripts\functions start_test
17
18 sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\recycle-test.bscr >tmp\bconcmds
19
20 CALL scripts\functions run_bacula
21 CALL scripts\functions check_for_zombie_jobs storage=File1
22 CALL scripts\functions stop_bacula
23
24 CALL scripts\functions check_two_logs
25 CALL scripts\functions check_restore_diff
26 CALL scripts\functions end_test