mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-24 08:37:55 +00:00
Require a non-generic reason for non-Fedora skip
Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
parent
d79e3a23db
commit
c193dbd942
1 changed files with 2 additions and 2 deletions
|
|
@ -817,10 +817,10 @@ func SkipOnOSVersion(os, version string) {
|
|||
}
|
||||
}
|
||||
|
||||
func SkipIfNotFedora() {
|
||||
func SkipIfNotFedora(reason string) {
|
||||
info := GetHostDistributionInfo()
|
||||
if info.Distribution != "fedora" {
|
||||
Skip("Test can only run on Fedora")
|
||||
Skip(reason)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue