aboutsummaryrefslogtreecommitdiff
path: root/src/os/testdata
diff options
context:
space:
mode:
authorxieyuschen <xieyuschen@gmail.com>2024-09-30 13:53:09 +0800
committerGopher Robot <gobot@golang.org>2024-10-04 14:46:36 +0000
commiteae89f37db1ba00db7b1e6955cb7090541cb4103 (patch)
treee5de2629fc739a3168b0bdba169026bb0411a2e5 /src/os/testdata
parent726d898c92ed0159f283f324478d00f15419f476 (diff)
downloadgo-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/x0
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