]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: migration-job-test add a new file before to run the incremental
authorAlain Spineux <alain@baculasystems.com>
Tue, 4 May 2021 09:47:05 +0000 (11:47 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:01 +0000 (09:03 +0100)
- else the incremental is empty and looks useless

regress/tests/migration-job-test

index e62c36613555103ab5c7e4be8822909a8f33b56f..4a46f68740fd3c15b36b251b518a890d6167b2fd 100755 (executable)
@@ -29,6 +29,8 @@ start_test
 #              Pool Default uses Storage=File
 #              Pool Full    uses Storage=DiskChanger
 
+rm -f $cwd/build/inc1
+
 # Write out bconsole commands
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 @output /dev/null
@@ -58,6 +60,7 @@ wait
 @#
 @# Now do another backup, but level Incremental
 @#
+@exec "sh -c 'date > ${cwd}/build/inc1'"
 run job=$JobName level=Incremental yes
 wait
 messages