subscription-manager-rhsm-c.../tests/smoke/smoke.sh
Pino Toscano 2723b3905e Add basic tier0 smoke tests
Copied from c9s.
2024-06-12 14:16:21 +02:00

10 lines
333 B
Bash
Executable File

#!/bin/bash
set -e
set -o pipefail
# Check that both PEM files are installed and these files are really PEM files
file /etc/rhsm/ca/redhat-entitlement-authority.pem | grep -q "/etc/rhsm/ca/redhat-entitlement-authority.pem: PEM certificate"
file /etc/rhsm/ca/redhat-uep.pem | grep -q "/etc/rhsm/ca/redhat-uep.pem: PEM certificate"