]> git.sur5r.net Git - bacula/bacula/blob - regress/win32/tests/auto-label-test.cmd
Final changes
[bacula/bacula] / regress / win32 / tests / auto-label-test.cmd
1 REM
2 REM  Test if Bacula can automatically create a Volume label.
3 REM
4
5 SET TestName=auto-label-test
6 SET JobName=AutoLabel
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 COPY bin\bacula-dir.conf tmp\1
14 sed -e "s;# Label Format;  Label Format;" tmp\1 >bin\bacula-dir.conf
15
16 CALL scripts\functions change_jobname CompressedTest %JobName%
17 CALL scripts\functions start_test
18
19 sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\auto-label-test.bscr >tmp\bconcmds
20
21 CALL scripts\functions run_bacula
22 CALL scripts\functions check_for_zombie_jobs storage=File
23 CALL scripts\functions stop_bacula
24
25 CALL scripts\functions check_two_logs
26 CALL scripts\functions check_restore_diff
27 CALL scripts\functions end_test