]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
blackbox/dbcheck: also run currently unused dbcheck_reset_well_known_acls
authorStefan Metzmacher <metze@samba.org>
Sat, 18 Mar 2023 12:54:40 +0000 (13:54 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 Mar 2023 22:10:32 +0000 (22:10 +0000)
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 <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
testprogs/blackbox/dbcheck.sh

index 1f1d43269bcdef42637e5ab8a092736f23ef139c..0869a2b115eb5a65fcfdb549d538877bffa3b3a0 100755 (executable)
@@ -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