]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/2drive-incremental-2disk
Update 2drive test
[bacula/bacula] / regress / tests / 2drive-incremental-2disk
index 8e404e4722fd0e4d2e3872088361f4217b7ce647..ae7d8cf9009444a75ad237ec73b1f9d6a9541c19 100755 (executable)
@@ -5,7 +5,6 @@
 #
 # This script uses the virtual disk autochanger and two drives
 #
-. config.out
 TestName="2drive-incremental-2disk"
 JobName="2drive2disk"
 . scripts/functions
@@ -40,6 +39,7 @@ cat <<END_OF_DATA >tmp/bconcmds
 @output /dev/null
 messages
 @$out tmp/log1.out
+setdebug level=0 storage=DDS-4
 label storage=DDS-4 volume=TestVolume001 slot=1 Pool=Default drive=0
 label storage=DDS-4 volume=TestVolume002 slot=2 Pool=Default drive=1
 status storage=DDS-4
@@ -97,7 +97,8 @@ stop_bacula
 
 check_two_logs
 # The restore should read from TestVolume002, which was on drive 1
-grep tmp/log2.out TestVolume002
+grep TestVolume002 tmp/log2.out >/dev/null 2>&1
+# Note rstat may already be set, so we don't just store into it
 if [ $? != 0 ] ; then
    rstat=$?
 fi