From Fedora Project Wiki

Revision as of 04:33, 27 August 2023 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |description=This test case is intended to verify that the firmware updating service fwupd is working correctly. |setup= # Install the `fwupd` package using the command: `sudo dnf install fwupd`. # Enable and start the `fwupd` service: `sudo systemctl enable --now fwupd.service`. |actions= # Query available devices that can be updated: `fwupdmgr get-devices`. # Refresh the metadata from the LVFS: `fwupdmgr refresh`. # Check for available firmware updates:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case is intended to verify that the firmware updating service fwupd is working correctly.

Setup

  1. Install the fwupd package using the command: sudo dnf install fwupd.
  2. Enable and start the fwupd service: sudo systemctl enable --now fwupd.service.

How to test

  1. Query available devices that can be updated: fwupdmgr get-devices.
  2. Refresh the metadata from the LVFS: fwupdmgr refresh.
  3. Check for available firmware updates: fwupdmgr get-updates.
  4. Optionally, if an update is available, download and apply it (WARNING: Make sure you know what you are doing): fwupdmgr update.

Expected Results

  1. The command fwupdmgr get-devices should list all devices that can have their firmware updated.
  2. The fwupdmgr refresh command should successfully refresh metadata.
  3. The fwupdmgr get-updates should list available updates, or indicate that all devices are up to date.
  4. If applied, the firmware update should complete successfully and the device should function normally after a reboot.

Optional

  1. You can perform additional tests by installing different versions of firmware and verifying device functionality.