mirror of
https://github.com/rancher/plugins.git
synced 2025-09-09 23:46:15 +00:00
Windows: Updates Windows Vendoring
Updates windows dependent libraries for vendoing.
This commit is contained in:
19
vendor/github.com/Microsoft/hcsshim/test/functional/utilities/requiresbuild.go
generated
vendored
Normal file
19
vendor/github.com/Microsoft/hcsshim/test/functional/utilities/requiresbuild.go
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
package testutilities
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/Microsoft/hcsshim/osversion"
|
||||
)
|
||||
|
||||
func RequiresBuild(t *testing.T, b uint16) {
|
||||
if osversion.Get().Build < b {
|
||||
t.Skipf("Requires build %d+", b)
|
||||
}
|
||||
}
|
||||
|
||||
func RequiresExactBuild(t *testing.T, b uint16) {
|
||||
if osversion.Get().Build != b {
|
||||
t.Skipf("Requires exact build %d", b)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user