X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fauto-label-test;h=b77ee6423cfcf14dcb4de566c120660165518749;hb=3a3e106aa07b87f4d9cd711e975f622a2b435dd0;hp=0b85a90fa076f4578a024284bfb0974bb98ac72b;hpb=5aaea29875378ce6de2b530141124d1a892edc2a;p=bacula%2Fbacula diff --git a/regress/tests/auto-label-test b/regress/tests/auto-label-test index 0b85a90fa0..b77ee6423c 100755 --- a/regress/tests/auto-label-test +++ b/regress/tests/auto-label-test @@ -30,11 +30,18 @@ run job=$JobName storage=File yes list pools list volumes wait +sql +SELECT StartTime, JobFiles, JobId, Level, count(*) AS nb_jobmedia +FROM JobMedia join Job using (JobId) join Client using (ClientId) +where Client.Name = 'localhost-fd' group by JobId, Level, StartTime, +JobFiles order by JobId desc ; + messages @# @# now do a restore @# @$out ${cwd}/tmp/log2.out +@#setdebug level=400 storage=File restore where=${cwd}/tmp/bacula-restores select storage=File unmark * mark *