From 9feb4883c624ee9b00dd8c8ffe901aa5d298c042 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 15 Oct 2009 17:50:43 +0200 Subject: [PATCH] Add comments to fileregexp test --- regress/tests/fileregexp-test | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/regress/tests/fileregexp-test b/regress/tests/fileregexp-test index 742c7a2ba5..e4dbe26786 100755 --- a/regress/tests/fileregexp-test +++ b/regress/tests/fileregexp-test @@ -51,6 +51,12 @@ run_bacula check_for_zombie_jobs storage=File stop_bacula +# +# The above restore should have restored some directories, but only +# files that have README in their name. There should in fact, be +# no other files restored COUNT_OTHER==0 and 13 README files restored. +# We complain if there are less than 11 +# COUNT_OTHER=`find ${tmp}/bacula-restores -type f | grep -v README | wc -l` COUNT_README=`find ${tmp}/bacula-restores -type f | grep README | wc -l` -- 2.39.5