- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestPermissions (0.2 sec)
-
src/cmd/gofmt/gofmt_unix_test.go
// license that can be found in the LICENSE file. //go:build unix package main import ( "os" "path/filepath" "strings" "testing" "time" ) func TestPermissions(t *testing.T) { if os.Getuid() == 0 { t.Skip("skipping permission test when running as root") } dir := t.TempDir() fn := filepath.Join(dir, "perm.go")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 18 12:52:14 UTC 2023 - 1.4K bytes - Viewed (0)