Este contenido no está disponible en el idioma seleccionado.

Chapter 10. Running certification tests by using CLI and downloading the results file


To run the certification tests by using CLI you must prepare the host and download the test plan to the SUT. After running the tests, download the results and review them.

10.1. Using the test plan to prepare the host under test for testing

Running the provision command performs a number of operations, such as setting up passwordless SSH communication with the test server, installing the required packages on your system based on the certification type, and creating a final test plan to run, which is a list of common tests taken from both the test plan provided by Red Hat and tests generated on discovering the system requirements.

For instance, required hardware or software packages will be installed if the test plan is designed for certifying a hardware or a software product.

Prerequisites

  • You have the hostname or the IP address of the test server.

Procedure

  1. Run the provision command in either way. The test plan will automatically get downloaded to your system.

    • If you have already downloaded the test plan:

      # rhcert-provision <path_to_test_plan_document>
      Copy to Clipboard Toggle word wrap

      Replace <path_to_test_plan_document> with the test plan file saved on your system.

      Follow the on-screen instructions.

    • If you have not downloaded the test plan:

      # rhcert-provision
      Copy to Clipboard Toggle word wrap

      Follow the on-screen instructions and enter your Certification ID when prompted.

  2. When prompted, provide the hostname or the IP address of the test server to set up passwordless SSH. You are prompted only the first time you add a new system.

10.2. Running the certification tests using CLI

Procedure

  1. Run the following command:

    # rhcert-run
    Copy to Clipboard Toggle word wrap
  2. When prompted, choose whether to run each test by typing yes or no.

    You can also run particular tests from the list by typing select.

Note

After a test reboot, rhcert is running in the background to verify the image. Use tail -f /var/log/rhcert/RedHatCertDaemon.log to see the current progress and status of the verification.

Procedure

  1. Download the test results file:

    # rhcert-save
    Copy to Clipboard Toggle word wrap
  2. Download the results file by using the rhcert-save command to your local system.
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat