]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/migration-jobspan-test
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / tests / migration-jobspan-test
index f62bd936e468a46a2a4dc4ece26e857417bf70eb..b14456383dac2ba52de50bf390c7f85857442b41 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 then migrate it
 #   to another device.
@@ -31,7 +36,7 @@ start_test
 
 # Write out bconsole commands
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@output
+@output /dev/null
 messages
 @$out ${cwd}/tmp/log1.out
 @#setdebug level=10 dir
@@ -61,6 +66,7 @@ wait
 @# now do a restore
 @#
 @$out ${cwd}/tmp/log2.out
+setdebug level=500 storage=File
 restore where=${cwd}/tmp/bacula-restores select storage=DiskChanger
 unmark *
 mark *
@@ -68,7 +74,6 @@ done
 yes
 wait
 messages
-@output
 quit
 END_OF_DATA