diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-09-21 22:06:54 -0700 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-09-23 01:29:10 +0200 |
commit | a3f25f25113d83a605638fa2806014ad9972f919 (patch) | |
tree | 7b0c4e282d9ed3e7ca94926a2ef51b9348a96ff4 /testprogs/blackbox | |
parent | 038a9a7c5ec964e5b42e1329eab0573e50a9d3b0 (diff) | |
download | samba-a3f25f25113d83a605638fa2806014ad9972f919.tar.gz samba-a3f25f25113d83a605638fa2806014ad9972f919.tar.bz2 samba-a3f25f25113d83a605638fa2806014ad9972f919.zip |
selftst: add tests based on 4.1.0rc3 to check for zero invocationID in replPropertyMetaData
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Sep 23 01:29:10 CEST 2013 on sn-devel-104
Diffstat (limited to 'testprogs/blackbox')
-rwxr-xr-x | testprogs/blackbox/dbcheck-oldrelease.sh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/testprogs/blackbox/dbcheck-oldrelease.sh b/testprogs/blackbox/dbcheck-oldrelease.sh index fd66375d15..e536e84230 100755 --- a/testprogs/blackbox/dbcheck-oldrelease.sh +++ b/testprogs/blackbox/dbcheck-oldrelease.sh @@ -37,13 +37,21 @@ dbcheck_clean() { $PYTHON $BINDIR/samba-tool dbcheck --cross-ncs -H tdb://$PREFIX_ABS/${RELEASE}/private/sam.ldb $@ } -# This should 'fail', because it returns the number of modified records +# This should 'fail', because it returns the number of modified records. +# We don't need to run this against 4.1.0rc3 dbcheck_acl_reset() { + if [ x$RELEASE != x"release-4-1-0rc3" ]; then $PYTHON $BINDIR/samba-tool dbcheck --reset-well-known-acls --cross-ncs --fix --yes -H tdb://$PREFIX_ABS/${RELEASE}/private/sam.ldb $@ + else + return 1 + fi } -# But having fixed it all up, this should pass +# But having fixed it all up, this should pass. +# We don't need to run this against 4.1.0rc3 dbcheck_acl_reset_clean() { + if [ x$RELEASE != x"release-4-1-0rc3" ]; then $PYTHON $BINDIR/samba-tool dbcheck --reset-well-known-acls --cross-ncs -H tdb://$PREFIX_ABS/${RELEASE}/private/sam.ldb $@ + fi } referenceprovision() { |