mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-15 14:45:05 +01:00
tests: add fwupdmgr.bats
This commit is contained in:
parent
9711d43537
commit
c4b42f1ece
1 changed files with 23 additions and 0 deletions
23
tests/bats/fwupdmgr.bats
Normal file
23
tests/bats/fwupdmgr.bats
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
#!/usr/bin/env bats
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
load common
|
||||||
|
|
||||||
|
@test "fwupdmgr: Display all devices detected by fwupd" {
|
||||||
|
fwupdmgr get-devices
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "fwupdmgr: Download the latest firmware metadata from LVFS" {
|
||||||
|
fwupdmgr refresh
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "fwupdmgr: List the updates available for devices on your system" {
|
||||||
|
fwupdmgr get-updates
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "fwupdmgr: Install firmware updates" {
|
||||||
|
fwupdmgr update
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue