]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/three-pool-test
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / tests / three-pool-test
index 08cefc05d80afe882000ca4d967cf43e6a05809f..2bac8554747e0ab22772062f6877a8766452cde7 100755 (executable)
@@ -1,5 +1,8 @@
 #!/bin/sh
 #
+# Copyright (C) 2000-2017 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
 #   want the tape that is not loaded.  Note, they both have     
@@ -30,7 +33,7 @@ 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
+@out /dev/null
 messages
 @$out ${cwd}/tmp/log1.out
 @#setdebug level=200 storage=tape
@@ -44,6 +47,7 @@ run job=$JobName level=Full Pool=Default yes
 run job=$JobName level=Full Pool=Default yes
 run job=$JobName level=Full Pool=Default yes
 run job=$JobName level=Full Pool=Default yes
+setdebug level=200 storage=tape
 @sleep 10
 status storage=tape
 list volumes
@@ -59,7 +63,7 @@ END_OF_DATA
 
 run_bacula
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@$out /dev/null
+@out /dev/null
 messages
 @# 
 @# now do a restore