mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
integration/daemon: use "windows" to skip tests
For consistency, and to allow easier grepping for all tests that we skip on windows. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
76016b846d
commit
040b1d5eeb
1 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ import (
|
|||
)
|
||||
|
||||
func TestConfigDaemonLibtrustID(t *testing.T) {
|
||||
skip.If(t, runtime.GOOS != "linux")
|
||||
skip.If(t, runtime.GOOS == "windows")
|
||||
|
||||
d := daemon.New(t)
|
||||
defer d.Stop(t)
|
||||
|
@ -42,7 +42,7 @@ func TestConfigDaemonLibtrustID(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestDaemonConfigValidation(t *testing.T) {
|
||||
skip.If(t, runtime.GOOS != "linux")
|
||||
skip.If(t, runtime.GOOS == "windows")
|
||||
|
||||
d := daemon.New(t)
|
||||
dockerBinary, err := d.BinaryPath()
|
||||
|
@ -108,7 +108,7 @@ func TestDaemonConfigValidation(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestConfigDaemonSeccompProfiles(t *testing.T) {
|
||||
skip.If(t, runtime.GOOS != "linux")
|
||||
skip.If(t, runtime.GOOS == "windows")
|
||||
|
||||
d := daemon.New(t)
|
||||
defer d.Stop(t)
|
||||
|
|
Loading…
Add table
Reference in a new issue