2015-02-20 04:37:27 -05:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
const (
|
2015-02-20 12:35:32 -05:00
|
|
|
// identifies if test suite is running on a unix platform
|
2015-02-20 04:37:27 -05:00
|
|
|
isUnixCli = false
|
2015-03-03 21:40:16 -05:00
|
|
|
|
2015-03-15 13:19:15 -04:00
|
|
|
// this is the expected file permission set on windows: gh#11395
|
|
|
|
expectedFileChmod = "-rwxr-xr-x"
|
2016-01-26 23:16:36 -05: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 04:37:27 -05:00
|
|
|
)
|
2016-01-26 23:16:36 -05:00
|
|
|
|
2016-03-04 13:46:55 -05:00
|
|
|
// TODO Windows: In TP5, decrease this sleep time, as performance will be better
|
2016-03-11 17:48:52 -05:00
|
|
|
var defaultSleepCommand = []string{"sleep", "240"}
|