2 REM Run a simple backup of the Bacula build directory using the compressed option
3 REM then backup a second time and finally restore it
5 SET TestName=two-jobs-test
8 CALL scripts\functions set_debug 0
9 CALL scripts\functions copy_test_confs
11 ECHO %CD:\=/%/build >\tmp\file-list
13 CALL scripts\functions change_jobname CompressedTest %JobName%
14 CALL scripts\functions start_test
16 sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\two-jobs-test.1.bscr >tmp\bconcmds
18 CALL scripts\functions run_bacula
19 CALL scripts\functions check_for_zombie_jobs storage=File
22 tools\touch build\src\dird\*.c
27 sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\two-jobs-test.2.bscr >tmp\bconcmds
29 CALL scripts\functions run_bconsole
30 CALL scripts\functions check_for_zombie_jobs storage=File
31 CALL scripts\functions stop_bacula
33 CALL scripts\functions check_two_logs
34 CALL scripts\functions check_restore_diff
35 CALL scripts\functions end_test