mirror of
https://github.com/containers/podman.git
synced 2025-09-17 23:18:39 +08:00
Require a non-generic reason for non-Fedora skip
Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user