Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestChown (0.09 sec)

  1. src/os/os_unix_test.go

    	}
    }
    
    func TestChown(t *testing.T) {
    	if runtime.GOOS == "wasip1" {
    		t.Skip("file ownership not supported on " + runtime.GOOS)
    	}
    	t.Parallel()
    
    	// Use TempDir() to make sure we're on a local file system,
    	// so that the group ids returned by Getgroups will be allowed
    	// on the file. On NFS, the Getgroups groups are
    	// basically useless.
    	f := newFile("TestChown", t)
    	defer Remove(f.Name())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:32:43 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top