subscription-manager-rhsm-c.../tests/smoke/smoke.sh
Pino Toscano 5631f07a67 Initial import
Add the same source as current available in c9s, with the additional
stuff (gating stuff) adapted to el8.

Resolves: rhbz#2184015
2023-04-20 09:53:22 +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"