From b76f7bc37b0fd454157e383cdf8e31672726dce3 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 9 Sep 2009 10:22:55 +0200 Subject: [PATCH] Verify if the Exclude Dir Containing directive does his job --- regress/tests/exclude-dir-test | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- 2.39.5