]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/dev-test-root
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / tests / dev-test-root
index 0d005e56b7f0a21d970504406586f00152e9288f..e5ad77e4bfd79114c0c2db110bb5613471fac090 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 restore it.
@@ -16,9 +21,9 @@ echo "/dev" >${cwd}/tmp/file-list
 start_test
 
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@output /dev/null
+@$out /dev/null
 messages
-@output ${cwd}/tmp/log1.out
+@$out ${cwd}/tmp/log1.out
 label storage=File volume=TestVolume001
 run job=NightlySave yes
 wait
@@ -26,12 +31,11 @@ messages
 @# 
 @# now do a restore
 @#
-@output ${cwd}/tmp/log2.out
+@$out ${cwd}/tmp/log2.out
 restore where=${cwd}/tmp/bacula-restores select all done
 yes
 wait
 messages
-@output
 quit
 END_OF_DATA