3 # Copyright (C) 2000-2015 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
8 # Run a simple backup of the Bacula build directory with TLS
9 # communications code enabled then restore it.
11 TestName="tls-authenticate-test"
16 scripts/copy-tls-confs
17 echo "${cwd}/build" >${cwd}/tmp/file-list
19 change_jobname CompressedTest $JobName
22 cat <<END_OF_DATA >tmp/bconcmds
26 setdebug level=100 dir
27 setdebug level=100 storage=File
28 setdebug level=100 client=$CLIENT
32 label storage=File volume=TestVolume001 pool=Default
33 run job=$JobName storage=File yes
40 restore where=${cwd}/tmp/bacula-restores select storage=File
51 check_for_zombie_jobs storage=File