]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/virtual-changer-test
Backport from Bacula Enterprise
[bacula/bacula] / regress / tests / virtual-changer-test
index a937ddaab661362b7549f41eaaa15b0ee1fdcd64..3111d39981fb20c7b0ea07425339147e961f914e 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+
 #
 # Run a simple backup of the Bacula build directory. Create three
 #   tapes, each in a different pool, then run two jobs both of which
@@ -42,10 +47,10 @@ sed -f ${outf} ${cwd}/tmp/1 >${cwd}/bin/bacula-dir.conf
 
 # Write out bconsole commands
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@$out /dev/null
+@output /dev/null
 messages
 @$out ${cwd}/tmp/log1.out
-setdebug level=200 storage=Virtual
+setdebug level=50 storage=Virtual
 @#setdebug level=200 client=$CLIENT 
 label storage=Virtual volume=TestVolume001 slot=1 Pool=Default drive=0
 label storage=Virtual volume=TestVolume002 slot=2 Pool=Full    drive=0
@@ -71,7 +76,7 @@ END_OF_DATA
 
 run_bacula
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@$out /dev/null
+@output /dev/null
 messages
 @# 
 @# now do a restore