ADD_TEST(disk:two-volume-test "@regressdir@/tests/two-volume-test")
ADD_TEST(disk:verify-cat-test "@regressdir@/tests/verify-cat-test")
ADD_TEST(disk:verify-vol-test "@regressdir@/tests/verify-vol-test")
+ADD_TEST(disk:verify-voltocat-test "@regressdir@/tests/verify-voltocat-test")
ADD_TEST(disk:virtual-changer-test "@regressdir@/tests/virtual-changer-test")
ADD_TEST(disk:virtual-backup-test "@regressdir@/tests/virtual-backup-test")
ADD_TEST(disk:virtual-backup2-test "@regressdir@/tests/virtual-backup2-test")
nice tests/two-vol-test
nice tests/verify-cat-test
nice tests/verify-vol-test
+nice tests/verify-voltocat-test
nice tests/weird-files2-test
nice tests/weird-files-test
nice tests/migration-job-test
#
# Run a simple backup of the Bacula build directory
# then verify the Volume to the catalog.
-# This test should not be in the normal tests run since it
-# requires creating a mount point.
-#
-# To run this test
-# cd regress
-# mkdir xx
-# mkdir xx/boot
-# mount -t ext3 /dev/sda1 xx/boot
-# (where /dev/sda1 is your boot partion, or some other small partition)
-# cp regress/* xx
#
TestName="verify-voltocat-test"
JobName=VerifyVol
cwd=`pwd`
scripts/cleanup
scripts/copy-test-confs
-echo "${cwd}/xx" >${cwd}/tmp/file-list
-echo "${cwd}/xx/boot" >>${cwd}/tmp/file-list
+echo "${cwd}/build" >${cwd}/tmp/file-list
change_jobname NightlySave $JobName
start_test
yes
wait
messages
+@$out ${cwd}/tmp/log3.out
+@#
+@# Now a backup with nothing changed
+run job=$JobName level=Incremental yes
+wait
+messages
+run job=VerifyVolume level=VolumeToCatalog
+yes
+wait
+messages
@$out
quit
END_OF_DATA
bstat=$?
grep "^ Termination: *Verify OK" tmp/log2.out 2>&1 >/dev/null
rstat=$?
-dstat=0
+grep "^ Termination: *Verify OK" tmp/log3.out 2>&1 >/dev/null
+dstat=$?
end_test