]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/regexwhere-test
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / tests / regexwhere-test
index 8b3d2f43606eaa72ec2b2bbc7ef3dba43cb54f75..c2fa8ea88fd683e049dda1771434484867cdb09b 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+
 #
 #  Test file relocation feature
 #
@@ -30,7 +35,7 @@ start_test
 cat <<END_OF_DATA >tmp/bconcmds
 @$out tmp/RUN_backup
 messages
-label volume=TestVolume001 pool=Default
+label volume=TestVolume001
 run job=backup yes
 wait
 messages
@@ -102,7 +107,7 @@ wait
 messages
 @##################################
 @$out tmp/RUN_JobG
-restore strip_prefix="${cwd}" add_prefix="/tmp/bacula-restore.$$"
+restore strip_prefix="${cwd}" add_prefix="${tmp}/bacula-restore.$$"
 5
 cd ${cwd}/build/po
 m *.po
@@ -256,7 +261,7 @@ else
    echo "$J in error"
    rstat=1
 fi
-rm -rf /tmp/bacula-restore.$$
+rm -rf ${tmp}/bacula-restore.$$
 
 J=JobH
 grep "Restore OK"  tmp/RUN_$J > /dev/null && \