From Fedora Project Wiki
Description
This test case is intended to verify that the firmware updating service fwupd is working correctly.
Setup
- Install the
fwupdpackage using the command:sudo dnf install fwupd. - Enable and start the
fwupdservice:sudo systemctl enable --now fwupd.service.
How to test
- Query available devices that can be updated:
fwupdmgr get-devices. - Refresh the metadata from the LVFS:
fwupdmgr refresh. - Check for available firmware updates:
fwupdmgr get-updates. - Optionally, if an update is available, download and apply it (WARNING: Make sure you know what you are doing):
fwupdmgr update.
Expected Results
- The command
fwupdmgr get-devicesshould list all devices that can have their firmware updated. - The
fwupdmgr refreshcommand should successfully refresh metadata. - The
fwupdmgr get-updatesshould list available updates, or indicate that all devices are up to date. - If applied, the firmware update should complete successfully and the device should function normally after a reboot.
Optional
- You can perform additional tests by installing different versions of firmware and verifying device functionality.
