Fix fwupd intergration test on Ubuntu 22.04

See:

- https://github.com/actions/runner-images/pull/12225#issuecomment-2904383955
This commit is contained in:
lawrencegripper
2025-05-23 14:18:25 +01:00
parent 2eee00587f
commit 52019144a8

View File

@@ -10,6 +10,6 @@ Describe "Disk free space" -Skip:(-not [String]::IsNullOrEmpty($env:AGENT_NAME)
Describe "fwupd removed" {
It "Is not present on box" {
$systemctlOutput = & systemctl list-unit-files fwupd-refresh.timer
$systemctlOutput | Should -Match "masked"
($systemctlOutput -eq $null) -or ($systemctlOutput | Should -Match "masked")
}
}