2015-02-20 09:37:27 +00:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
const (
|
2015-02-20 17:35:32 +00:00
|
|
|
// identifies if test suite is running on a unix platform
|
2015-02-20 09:37:27 +00:00
|
|
|
isUnixCli = false
|
2015-03-04 02:40:16 +00:00
|
|
|
|
2015-03-15 17:19:15 +00:00
|
|
|
// this is the expected file permission set on windows: gh#11395
|
|
|
|
expectedFileChmod = "-rwxr-xr-x"
|
2016-01-27 04:16:36 +00:00
|
|
|
|
|
|
|
// On Windows, the busybox image doesn't have the `top` command, so we rely
|
|
|
|
// on `sleep` with a high duration.
|
|
|
|
defaultSleepImage = "busybox"
|
2015-02-20 09:37:27 +00:00
|
|
|
)
|
2016-01-27 04:16:36 +00:00
|
|
|
|
2016-03-04 18:46:55 +00:00
|
|
|
// TODO Windows: In TP5, decrease this sleep time, as performance will be better
|
2016-03-11 22:48:52 +00:00
|
|
|
var defaultSleepCommand = []string{"sleep", "240"}
|