]> git.sur5r.net Git - bacula/bacula/blob - regress/win32/tests/sparse-compressed-test.cmd
Copy trunk regress into Branch
[bacula/bacula] / regress / win32 / tests / sparse-compressed-test.cmd
1 REM
2 REM Run a simple backup of the Bacula build directory using the Sparse option
3 REM   then restore it.
4 REM
5 SET TestName=sparse-compressed-test
6 SET JobName=Sparse-conpressed
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 start_test
14
15 sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\sparse-compressed-test.bscr >tmp\bconcmds
16
17 CALL scripts\functions run_bacula
18 CALL scripts\functions check_for_zombie_jobs storage=File 
19 CALL scripts\functions stop_bacula
20
21 CALL scripts\functions check_two_logs
22 CALL scripts\functions check_restore_diff
23 CALL scripts\functions end_test