1 REM Create a big Volume > 5 GB and backup to it to test disk
2 REM seeking on big volumes. We cheat and artifically grow
4 SET TestName="big-vol-test"
7 CALL scripts\functions set_debug 0
10 CALL scripts\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\big-vol-test.1.bscr >tmp\bconcmds
18 CALL scripts\functions run_bacula
19 CALL scripts\functions check_for_zombie_jobs storage=File
22 REM Now increase the size of the Volume using gigaslam
27 %CD%/build/src/tools/grow TestVolume001 %size%
28 IF NOT ERRORLEVEL 0 GOTO ERROR
31 sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" -e "s;@size@;%size%;g" tests\big-vol-test.2.bscr >tmp\bconcmds
33 CALL scripts\functions run_bconsole
34 CALL scripts\functions check_for_zombie_jobs storage=File
35 CALL scripts\functions stop_bacula
37 CALL scripts\functions check_two_logs
38 CALL scripts\functions check_restore_diff
39 CALL scripts\functions end_test
40 REM Get rid of big files
41 DEL /F %CD%\tmp\TestVolume001
44 ECHO Execute of %CD%\build\src\tools\grow failed.