2 REM Run a simple backup of the Bacula build directory
3 REM then verify the catalog.
5 SET TestName=verify-vol-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 NightlySave %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\verify-vol-test.bscr >tmp\bconcmds
18 CALL scripts\functions run_bacula
21 CALL scripts\functions check_for_zombie_jobs storage=File
22 CALL scripts\functions stop_bacula
24 grep "^ Termination: *Backup OK" tmp\log1.out 2>&1 >nul
25 SET bstat=%ERRORLEVEL%
26 grep "^ Termination: *Verify OK" tmp\original 2>&1 >nul
27 SET rstat=%ERRORLEVEL%
29 CALL scripts\functions end_test