test: update integration tests.
This commit is contained in:
parent
8e2a7e8068
commit
1204e29fb9
9 changed files with 192 additions and 8 deletions
22
tests/integration/tlp.bats
Normal file
22
tests/integration/tlp.bats
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#!/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 "tlp: Apply settings (according to the actual power source)" {
|
||||
sudo tlp start
|
||||
}
|
||||
|
||||
@test "tlp: Apply battery settings (ignoring the actual power source)" {
|
||||
sudo tlp bat
|
||||
}
|
||||
|
||||
@test "tlp: Apply AC settings (ignoring the actual power source)" {
|
||||
sudo tlp ac
|
||||
}
|
||||
|
||||
@test "tlp: Apply Disk settings" {
|
||||
sudo tlp diskid
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue