mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-24 03:48:13 +01:00
tests: add fwupdmgr.bats
This commit is contained in:
parent
edad2e1984
commit
685105a662
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