kubernetes/pkg/util/mount
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
..
BUILD replace pkg/util/file with k8s.io/utils/path 2019-01-29 15:20:13 -05:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
exec.go Add Exec interface to VolumeHost 2017-08-14 12:16:25 +02:00
exec_mount.go Move from glog to klog 2018-11-10 07:50:31 -05:00
exec_mount_test.go Clean up fake mounters. 2018-06-02 15:55:19 +08:00
exec_mount_unsupported.go Deprecate mount.IsNotMountPoint 2019-01-06 20:25:31 +08:00
fake.go Deprecate mount.IsNotMountPoint 2019-01-06 20:25:31 +08:00
mount.go migrate the rest reference of pkg/util/exec to k8s.io/utils/exec 2019-01-29 10:55:10 +08:00
mount_helper.go Deprecate mount.IsNotMountPoint 2019-01-06 20:25:31 +08:00
mount_helper_test.go Rename UnmountMountPoint to CleanupMountPoint 2019-01-03 16:35:54 -08:00
mount_linux.go replace pkg/util/file with k8s.io/utils/path 2019-01-29 15:20:13 -05:00
mount_linux_test.go Ignore the sticky gid mode bit when a test is running on memory EmptyDir 2019-02-24 17:30:37 -08:00
mount_test.go Apply _netdev mount option in bind mount if available 2018-09-13 13:47:34 -04:00
mount_unsupported.go Deprecate mount.IsNotMountPoint 2019-01-06 20:25:31 +08:00
mount_windows.go fix smb remount issue on Windows 2019-02-14 14:19:24 +00:00
mount_windows_test.go fix smb remount issue on Windows 2019-02-14 14:19:24 +00:00
nsenter_mount.go replace pkg/util/file with k8s.io/utils/path 2019-01-29 15:20:13 -05:00
nsenter_mount_test.go replace pkg/util/nsenter with k8s.io/utils/nsenter 2019-01-24 13:49:04 -05:00
nsenter_mount_unsupported.go replace pkg/util/nsenter with k8s.io/utils/nsenter 2019-01-24 13:49:04 -05:00
OWNERS Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
safe_format_and_mount_test.go When creating ext3/ext4 volume, pass -m0 to mkfs in order to disable the 2018-05-21 12:43:57 -04:00