From: Eric Bollengier Date: Wed, 9 Sep 2009 08:22:55 +0000 (+0200) Subject: Verify if the Exclude Dir Containing directive does his job X-Git-Tag: Release-7.0.0~2633^2~16^2~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b76f7bc37b0fd454157e383cdf8e31672726dce3;p=bacula%2Fbacula Verify if the Exclude Dir Containing directive does his job --- diff --git a/regress/tests/exclude-dir-test b/regress/tests/exclude-dir-test index b4ae49c4b5..7cea3dc7c2 100755 --- a/regress/tests/exclude-dir-test +++ b/regress/tests/exclude-dir-test @@ -16,6 +16,10 @@ cp -f $tmp/1 $conf/bacula-dir.conf change_jobname CompressedTest $JobName start_test +mkdir ${cwd}/build/src/testdir +touch ${cwd}/build/src/testdir/.nobkp +cp ${cwd}/build/src/dird/*.c ${cwd}/build/src/testdir + cat >tmp/bconcmds < /dev/null +if [ $? = 0 ]; then + print_debug "ERROR: Should not see testdir in estimate output" + bstat=2 +fi + end_test