diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-02-27 15:17:35 +1300 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-03-21 08:03:07 +0100 |
commit | f596dc94e1ab839f13e2a9edbcec774635b5c211 (patch) | |
tree | f911e2af0ea7ea249d9a638e1d5dbf161e317a24 /testprogs | |
parent | 5277fc4d0393ffe2e415ad26610b36d2986c62d7 (diff) | |
download | samba-f596dc94e1ab839f13e2a9edbcec774635b5c211.tar.gz |
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 <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/blackbox/dbcheck.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |