diff options
| author | xieyuschen <xieyuschen@gmail.com> | 2024-09-30 13:53:09 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-10-04 14:46:36 +0000 |
| commit | eae89f37db1ba00db7b1e6955cb7090541cb4103 (patch) | |
| tree | e5de2629fc739a3168b0bdba169026bb0411a2e5 /src/os/testdata | |
| parent | 726d898c92ed0159f283f324478d00f15419f476 (diff) | |
| download | go-eae89f37db1ba00db7b1e6955cb7090541cb4103.tar.xz | |
os: check permissions of CopyFS copied files
CopyFS stipulates the permissions of the created files,
we should test them in the unit test.
* chmod x for testdata/x to test CopyFS for executable
* check the files permissions to ensure CopyFS follows the stipulated
convention
Change-Id: Id13a8ad920ad0c1ff4b801dec3bfa6869cb3101f
Reviewed-on: https://go-review.googlesource.com/c/go/+/616615
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/os/testdata')
| -rwxr-xr-x[-rw-r--r--] | src/os/testdata/dirfs/dir/x | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/src/os/testdata/dirfs/dir/x b/src/os/testdata/dirfs/dir/x index e69de29bb2..e69de29bb2 100644..100755 --- a/src/os/testdata/dirfs/dir/x +++ b/src/os/testdata/dirfs/dir/x |
