X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fauto-label-test;h=6583937e0364134bb1ec1325088f8139170bbfd4;hb=4a5aa1e88a23186262ffbf4abecb6d5db35ed03c;hp=aa0ed25dd5c84c45793c8df4d00f5236daf0906a;hpb=98176d8e18a9515adcf9669ea69449e703b6a9ed;p=bacula%2Fbacula diff --git a/regress/tests/auto-label-test b/regress/tests/auto-label-test index aa0ed25dd5..6583937e03 100755 --- a/regress/tests/auto-label-test +++ b/regress/tests/auto-label-test @@ -7,18 +7,17 @@ TestName="auto-label-test" JobName=AutoLabel . scripts/functions set_debug 0 +copy_test_confs -cwd=`pwd` -scripts/copy-test-confs -scripts/cleanup echo "${cwd}/build" >/tmp/file-list cp ${cwd}/bin/bacula-dir.conf ${cwd}/tmp/1 sed "s%# Label Format% Label Format%" ${cwd}/tmp/1 >${cwd}/bin/bacula-dir.conf +change_jobname CompressedTest $JobName start_test -cat <tmp/bconcmds +cat <tmp/bconcmds @output /dev/null messages @$out tmp/log1.out @@ -27,7 +26,7 @@ status all list pools messages @#setdebug level=110 storage=File -run job=CompressedTest storage=File yes +run job=$JobName storage=File yes list pools list volumes wait @@ -54,7 +53,7 @@ wait messages @$out quit -END_OF_DATA +END_OF_SCRIPT run_bacula check_for_zombie_jobs storage=File