]> git.sur5r.net Git - bacula/bacula/commitdiff
Add comments to fileregexp test
authorKern Sibbald <kern@sibbald.com>
Thu, 15 Oct 2009 15:50:43 +0000 (17:50 +0200)
committerKern Sibbald <kern@sibbald.com>
Thu, 15 Oct 2009 15:50:43 +0000 (17:50 +0200)
regress/tests/fileregexp-test

index 742c7a2ba59ea87a562735d063222e19f30e9255..e4dbe2678612f0423ad6341e65b96be2ac303666 100755 (executable)
@@ -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`