From f596dc94e1ab839f13e2a9edbcec774635b5c211 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 27 Feb 2014 15:17:35 +1300 Subject: dbcheck: Ensure dbcheck can operate with --attrs set This also includes a test to ensure we do not regress on this point. Signed-off-by: Andrew Bartlett Reviewed-by: Stefan Metzmacher --- testprogs/blackbox/dbcheck.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testprogs') diff --git a/testprogs/blackbox/dbcheck.sh b/testprogs/blackbox/dbcheck.sh index c1e8aafd36f..66628b05190 100755 --- a/testprogs/blackbox/dbcheck.sh +++ b/testprogs/blackbox/dbcheck.sh @@ -26,12 +26,17 @@ reindex() { $BINDIR/samba-tool dbcheck --reindex } +fixed_attrs() { + $BINDIR/samba-tool dbcheck --attrs=cn +} + force_modules() { $BINDIR/samba-tool dbcheck --force-modules } testit "dbcheck" dbcheck testit "reindex" reindex +testit "fixed_attrs" fixed_attrs testit "force_modules" force_modules exit $failed -- cgit v1.2.1