1a22418f9f
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>
10 lines
156 B
Go
10 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--"
|
|
)
|