]> git.sur5r.net Git - bacula/bacula/blob - regress/win32/tests/two-pool-test.cmd
More debug for faketape ansi label
[bacula/bacula] / regress / win32 / tests / two-pool-test.cmd
1 REM
2 REM This is Arno's test.  It uses two pools, two tapes, and
3 REM  an autochanger. Note, the Director has three Pools in its 
4 REM  conf:  Default, Full, and Inc.  Default is used in the
5 REM  NightlySave job by default.  What is backed up is what
6 REM  is in ${cwd}/tmp/file-list, which is by default the Bacula
7 REM  source code (i.e. the build directory).
8 REM
9 REM  Note, we use the virtual disk autochanger.
10 REM
11 SET TestName=two-pool-test
12 SET JobName=Two-pool
13
14 CALL scripts\functions set_debug 0
15
16 CALL config_out
17
18 CALL scripts\cleanup
19 CALL scripts\copy-2disk-confs >nul 2>&1
20 CALL scripts\prepare-two-disks
21  
22 REM Make a relatively large backup set 5 x source code directory
23 REM  Reduced to 1 for portable
24 ECHO %CD:\=/%/build >tmp\file-list
25
26 CALL scripts\functions start_test
27
28 REM Write out bconsole commands to a file
29 sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\two-pool-test.bscr >tmp\bconcmds
30
31 CALL scripts\functions run_bacula
32 CALL scripts\functions check_for_zombie_jobs storage=DDS-4
33 CALL scripts\functions stop_bacula
34
35 CALL scripts\functions check_two_logs
36 CALL scripts\functions check_restore_diff
37 CALL scripts\functions end_test