]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/stats-test
regress: enhance btape-test to detect NOT correct message
[bacula/bacula] / regress / tests / stats-test
index a7e97cf264afbf1726515445fb0999f875b141a3..00771dd0c62e0e10a4f6095934f9fd3d72c98e99 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+
 #
 # Do some tests with statistics commands
 #
@@ -23,10 +28,10 @@ change_jobname BackupClient1 $JobName
 start_test
 
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@$out /dev/null
+@output /dev/null
 messages
 @$out ${cwd}/tmp/log1.out
-label volume=TestVolume001 storage=File pool=File
+label volume=TestVolume001 storage=File1 pool=File slot=1 drive=0
 run job=$JobName yes
 wait
 messages
@@ -58,7 +63,7 @@ dstat=0
 rstat=0
 bstat=0
 
-check_for_zombie_jobs storage=File
+check_for_zombie_jobs storage=File1
 stop_bacula