8367ede ipatests: add test for PKI subsystem detection

Authored and Committed by frenaud 3 years ago
    ipatests: add test for PKI subsystem detection
    
    Add a new upgrade test. Scenario:
    - create an empty /var/lib/pki/pki-tomcat/kra directory
    - call ipa-server-upgrade
    
    With issue 8596, the upgrade fails because it assumes KRA is
    installed. With the fix, ipa-server-upgrade completes successfully.
    
    Related: https://pagure.io/freeipa/issue/8596
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Alexander Bokovoy <abbra@users.noreply.github.com>