Files
kubernetes/pkg/util
Clayton Coleman 7f01e23380 Ignore the sticky gid mode bit when a test is running on memory EmptyDir
While running unit tests for perf on a Kube cluster with a memory backed
emptydir as TMPDIR, TestSafeMakeDir failed with:

```
--- FAIL: TestSafeMakeDir (0.01s)
	mount_linux_test.go:661: test "directory-exists": expected permissions 20000000750, got 20020000750
```

(TMPDIR set to /tmp/volume, /tmp/volume is EmptyDir with type Memory)

The test doesn't actually care about `os.ModeSetgid`, so specifically mask it out when testing this way.
2019-02-24 17:30:37 -08:00
..
2018-11-10 07:50:31 -05:00
2018-11-10 07:50:31 -05:00
2018-06-22 16:22:57 -07:00
2018-12-19 17:38:30 -08:00
2018-10-17 10:11:49 +08:00
2018-02-16 13:43:01 -08:00
2018-11-10 07:50:31 -05:00
2018-02-16 13:43:01 -08:00
2018-11-10 07:50:31 -05:00
2018-06-22 16:22:57 -07:00
2018-11-10 07:50:31 -05:00
2018-11-10 07:50:31 -05:00
2018-06-22 16:22:57 -07:00
2018-11-10 07:50:31 -05:00
2018-06-22 16:22:57 -07:00
2018-11-10 07:50:31 -05:00
2018-06-22 16:22:57 -07:00
2018-06-22 16:22:57 -07:00