diff options
author | Andrew Bartlett <abartlet@samba.org> | 2020-12-10 16:03:49 +1300 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2021-02-22 12:00:43 +0000 |
commit | 42dbd31f73960b4d0c82fe8a8f3f02e6fff3f0c2 (patch) | |
tree | fd5b9c6c23d28dd5db430f031f067cdf5364b2f3 /testprogs | |
parent | b3cd04c10389f6d6793448de29169de9eb365842 (diff) | |
download | samba-42dbd31f73960b4d0c82fe8a8f3f02e6fff3f0c2.tar.gz |
dbcheck: Check Deleted Objects and reduce noise in reports about expired tombstones
These reports (about recently deleted objects)
create concern about a perfectly normal part of DB operation.
We must not operate on objects that are expired or we might reanimate them,
but we must fix "Deleted Objects" if it is wrong (mostly it is set as being
deleted in 9999, but in alpha19 we got this wrong).
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14593
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Feb 3 05:29:11 UTC 2021 on sn-devel-184
(cherry picked from commit da627106cdbf8d375b25fa3338a717447f3dbb6e)
Autobuild-User(v4-14-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-14-test): Mon Feb 22 12:00:43 UTC 2021 on sn-devel-184
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/blackbox/dbcheck-links.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testprogs/blackbox/dbcheck-links.sh b/testprogs/blackbox/dbcheck-links.sh index ead59d691e0..f00fe46c2de 100755 --- a/testprogs/blackbox/dbcheck-links.sh +++ b/testprogs/blackbox/dbcheck-links.sh @@ -42,7 +42,7 @@ dbcheck() { if [ "$?" != "$2" ]; then return 1 fi - sort $tmpfile > $tmpfile.sorted + sort $tmpfile | grep -v "^INFO:" > $tmpfile.sorted sort $release_dir/expected-dbcheck-link-output${1}.txt > $tmpfile.expected diff -u $tmpfile.sorted $tmpfile.expected if [ "$?" != "0" ]; then |