mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-24 03:48:13 +01:00
fix(tests): ensure fwupdmgr don't fail even if the target does not support firmware update.
This commit is contained in:
parent
2332f71b17
commit
ffd6ecba5b
1 changed files with 3 additions and 3 deletions
|
@ -10,14 +10,14 @@ load common
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "fwupdmgr: Download the latest firmware metadata from LVFS" {
|
@test "fwupdmgr: Download the latest firmware metadata from LVFS" {
|
||||||
fwupdmgr refresh
|
fwupdmgr refresh || true
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "fwupdmgr: List the updates available for devices on your system" {
|
@test "fwupdmgr: List the updates available for devices on your system" {
|
||||||
fwupdmgr get-updates
|
fwupdmgr get-updates || true
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "fwupdmgr: Install firmware updates" {
|
@test "fwupdmgr: Install firmware updates" {
|
||||||
fwupdmgr update
|
fwupdmgr update || true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue