]> git.sur5r.net Git - bacula/bacula/blob - regress/regress/win32/tests/backup-bacula-test.cmd
dafec1d6226dfe3a6c068debbae184729226db6f
[bacula/bacula] / regress / regress / win32 / tests / backup-bacula-test.cmd
1 REM
2 REM Run a simple backup of the Bacula build directory
3 REM   then restore it.
4 REM
5
6 SET TestName=backup-bacula-test
7 SET JobName=backup
8 CALL scripts\functions set_debug 0
9
10 CALL scripts\cleanup
11 CALL scripts\copy-confs >nul 2>&1
12
13 CALL scripts\functions change_jobname Client1 %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\backup-bacula-test.bscr >tmp\bconcmds
17
18 CALL scripts\functions run_bacula
19 CALL scripts\functions check_for_zombie_jobs storage=File
20 CALL scripts\functions stop_bacula
21
22 CALL scripts\functions check_two_logs
23 CALL scripts\functions check_restore_diff
24 CALL scripts\functions end_test