From: Stefan Metzmacher Date: Sat, 18 Mar 2023 12:54:40 +0000 (+0100) Subject: blackbox/dbcheck: also run currently unused dbcheck_reset_well_known_acls X-Git-Tag: talloc-2.4.1~1338 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01400b59803b4ff70178dfe9da17cfa0a006821b;p=thirdparty%2Fsamba.git blackbox/dbcheck: also run currently unused dbcheck_reset_well_known_acls This makes sure that we detect if dbcheck --reset-well-known-acls tries to reset to unexpected values, which we expect to currect in recent provisions. Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- diff --git a/testprogs/blackbox/dbcheck.sh b/testprogs/blackbox/dbcheck.sh index 1f1d43269bc..0869a2b115e 100755 --- a/testprogs/blackbox/dbcheck.sh +++ b/testprogs/blackbox/dbcheck.sh @@ -63,9 +63,10 @@ force_modules() dbcheck_fix_one_way_links dbcheck_fix_stale_links dbcheck_fix_crosspartition_backlinks -testit "dbcheck" dbcheck -testit "reindex" reindex -testit "fixed_attrs" fixed_attrs -testit "force_modules" force_modules +testit "dbcheck" dbcheck || failed=$(expr $failed + 1) +testit "reindex" reindex || failed=$(expr $failed + 1) +testit "fixed_attrs" fixed_attrs || failed=$(expr $failed + 1) +testit "force_modules" force_modules || failed=$(expr $failed + 1) +testit "reset_well_known_acls" dbcheck_reset_well_known_acls || failed=$(expr $failed + 1) exit $failed