Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -60,11 +60,6 @@ func OnlyDefaultNetworks() bool {
|
| 60 | 60 |
return true |
| 61 | 61 |
} |
| 62 | 62 |
|
| 63 |
-// Deprecated: use skip.If(t, !testEnv.DaemonInfo.ExperimentalBuild) |
|
| 64 |
-func ExperimentalDaemon() bool {
|
|
| 65 |
- return testEnv.DaemonInfo.ExperimentalBuild |
|
| 66 |
-} |
|
| 67 |
- |
|
| 68 | 63 |
func IsAmd64() bool {
|
| 69 | 64 |
return os.Getenv("DOCKER_ENGINE_GOARCH") == "amd64"
|
| 70 | 65 |
} |
| ... | ... |
@@ -81,10 +76,6 @@ func NotPpc64le() bool {
|
| 81 | 81 |
return ArchitectureIsNot("ppc64le")
|
| 82 | 82 |
} |
| 83 | 83 |
|
| 84 |
-func NotS390X() bool {
|
|
| 85 |
- return ArchitectureIsNot("s390x")
|
|
| 86 |
-} |
|
| 87 |
- |
|
| 88 | 84 |
func SameHostDaemon() bool {
|
| 89 | 85 |
return testEnv.IsLocalDaemon() |
| 90 | 86 |
} |
| ... | ... |
@@ -176,13 +167,6 @@ func IsPausable() bool {
|
| 176 | 176 |
return true |
| 177 | 177 |
} |
| 178 | 178 |
|
| 179 |
-func NotPausable() bool {
|
|
| 180 |
- if testEnv.OSType == "windows" {
|
|
| 181 |
- return testEnv.DaemonInfo.Isolation == "process" |
|
| 182 |
- } |
|
| 183 |
- return false |
|
| 184 |
-} |
|
| 185 |
- |
|
| 186 | 179 |
func IsolationIs(expectedIsolation string) bool {
|
| 187 | 180 |
return testEnv.OSType == "windows" && string(testEnv.DaemonInfo.Isolation) == expectedIsolation |
| 188 | 181 |
} |