Skip to content

Dasharo Compatibility: Platform suspend and resume

Test cases

SUSP001.001 Platform suspend and resume

Test description

This test verifies whether the DUT might be put into suspend mode and then, by using the power button, might be properly resumed. This test case may be re-done several times to specify the platform stability.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Debian 11.0

Test setup

  1. Proceed with the Generic test setup: firmware.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Open a terminal window and execute the following command:

    date
    
  5. Write down the output of the above-mentioned command.

  6. Execute the following command in the terminal:

    systemctl suspend -i
    
  7. Check the status of the platform.

  8. Press the power button once and note the result.
  9. Execute the following command in the terminal:

    journalctl | grep suspend
    

Expected result

  1. After running suspend command the platform should enter the suspend mode.
  2. After pressing power button the platform should initiate the resume procedure.
  3. Output of the last command should contains the line with the following statement:

    systemd-suspend.service: Succeeded
    
  4. Date of the above-described event should be later than date from command date from the test steps' fourth point.