]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/auto-label-test
Make test work as expected
[bacula/bacula] / regress / tests / auto-label-test
index e709b600ec86cde86357dc88b2ef3b4e1fa0db4e..b77ee6423cfcf14dcb4de566c120660165518749 100755 (executable)
@@ -30,6 +30,12 @@ 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