]> git.sur5r.net Git - bacula/bacula/blob - regress/win32/tests/span-vol-test.cmd
Merge unix regress changes into Windows port.
[bacula/bacula] / regress / win32 / tests / span-vol-test.cmd
1 REM
2 REM Run a simple backup of the Bacula build directory but 
3 REM   split the archive into four volumes, two of which are
4 REM   totally full. I.e. make sure that bsr selects all tapes 
5 REM   including those fully spanned.
6 REM
7 SET TestName=span-vol-test
8 SET JobName=SpanVol
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\span-vol-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