mirror of
https://github.com/docker/docs.git
synced 2026-03-28 23:08:49 +07:00
This change modifies the chmod bits of build context archives built on windows to preserve the execute bit and remove the r/w bits from grp/others. Also adjusted integ-cli tests to verify permissions based on the platform the tests are running. Fixes #11047. Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
11 lines
156 B
Go
11 lines
156 B
Go
// +build !windows
|
|
|
|
package main
|
|
|
|
const (
|
|
// identifies if test suite is running on a unix platform
|
|
isUnixCli = true
|
|
|
|
expectedFileChmod = "-rw-r--r--"
|
|
)
|