865c076 ipatests: test that stale caches are removed using the sweeper

Authored and Committed by rcritten 5 months ago
    ipatests: test that stale caches are removed using the sweeper
    
    - Force wipe all existing ccaches
    - Set the ticket policy to a short value, 30 seconds.
    - Do a series of kinit, ipa command, kdestroy to generate ccaches
    - sleep(30)
    - Run the sweeper
    - Verify that all ccaches are gone
    
    https://pagure.io/freeipa/issue/8589
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Francois Cami <fcami@redhat.com>