From ffd6ecba5b7383c990dca68dbd877b835f41dc33 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Thu, 21 Nov 2024 19:15:56 +0000 Subject: [PATCH] fix(tests): ensure fwupdmgr don't fail even if the target does not support firmware update. --- tests/bats/fwupdmgr.bats | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/bats/fwupdmgr.bats b/tests/bats/fwupdmgr.bats index 2eb8282c..332a6374 100644 --- a/tests/bats/fwupdmgr.bats +++ b/tests/bats/fwupdmgr.bats @@ -10,14 +10,14 @@ load common } @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" { - fwupdmgr get-updates + fwupdmgr get-updates || true } @test "fwupdmgr: Install firmware updates" { - fwupdmgr update + fwupdmgr update || true }