]> git.sur5r.net Git - bacula/bacula/blob - regress/win32/tests/verify-vol-test.cmd
Fix compiler warnings in acl and xattr code
[bacula/bacula] / regress / win32 / tests / verify-vol-test.cmd
1 REM
2 REM Run a simple backup of the Bacula build directory
3 REM   then verify the catalog.           
4 REM
5 SET TestName=verify-vol-test
6 SET JobName=VerifyVol
7
8 CALL scripts\functions set_debug 0
9 CALL scripts\functions copy_test_confs
10
11 ECHO %CD:\=/%/build >tmp\file-list
12
13 CALL scripts\functions change_jobname NightlySave %JobName%
14 CALL scripts\functions start_test
15
16 sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\verify-vol-test.bscr >tmp\bconcmds
17
18 CALL scripts\functions run_bacula
19
20 bin\bsleep 2
21 CALL scripts\functions check_for_zombie_jobs storage=File 
22 CALL scripts\functions stop_bacula
23
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%
28 SET dstat=0
29 CALL scripts\functions end_test