]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Add test with directory
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 20 Jun 2008 12:41:07 +0000 (12:41 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 20 Jun 2008 12:41:07 +0000 (12:41 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7190 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/accurate-test

index a94449149fee979aad9ca00eeb8d6203d11385dd..bdda6ea86885bb8520d238d2e9133d92ec803fbd 100755 (executable)
@@ -26,6 +26,8 @@ rm -rf ${cwd}/build/accurate
 
 # add extra files
 mkdir ${cwd}/build/accurate
+mkdir ${cwd}/build/accurate/dirtest
+echo "test test" > ${cwd}/build/accurate/dirtest/hello
 echo "test test" > ${cwd}/build/accurate/xxx
 echo "test test" > ${cwd}/build/accurate/yyy
 echo "test test" > ${cwd}/build/accurate/zzz
@@ -81,6 +83,7 @@ rm -rf ${cwd}/tmp/bacula-restores
 # Now do a second backup after making few changes
 ################################################################
 rm ${cwd}/build/accurate/xxx  # delete a file
+rm ${cwd}/build/accurate/dirtest/hello
 
 run_bconsole
 check_for_zombie_jobs storage=File
@@ -94,6 +97,7 @@ rm -rf ${cwd}/tmp/bacula-restores
 # Now do a third backup after making few changes
 ################################################################
 rm ${cwd}/build/accurate/yyyyyy  # delete a file
+rmdir ${cwd}/build/accurate/dirtest
 
 run_bconsole
 check_for_zombie_jobs storage=File