Issue 50572 - After running cl-dump dbdir/cldb/*ldif.done are not deleted
Bug Description:
cl-dump utility generates *.ldif files in the changelog directory.
At the end, they are renamed to *ldif.done but they are never deleted.
In some cases, these files can be very large which is provoking an issue at a customer.
Fix Description:
By default, remove ldif.done files after running cl-dump.
Add an option '-l' which allows keep the files.
This commit includes the automated test to check the fix works fine.
Relates https://pagure.io/389-ds-base/issue/50572
Author: Sylvie Gouverneyre
Review by: Simon Pichugin, Viktor Ashirov