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.
7 SET TestName=span-vol-test
10 CALL scripts\functions set_debug 0
11 CALL scripts\functions copy_test_confs
13 ECHO %CD:\=/%/build >\tmp\file-list
15 CALL scripts\functions change_jobname NightlySave %JobName%
16 CALL scripts\functions start_test
18 sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\span-vol-test.bscr >tmp\bconcmds
20 CALL scripts\functions run_bacula
21 CALL scripts\functions check_for_zombie_jobs storage=File1
22 CALL scripts\functions stop_bacula
24 CALL scripts\functions check_two_logs
25 CALL scripts\functions check_restore_diff
26 CALL scripts\functions end_test