Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestStatRelativeSymlink (0.16 sec)

  1. src/os/os_test.go

    	}
    
    	// result will be like "prw-rw-rw"
    	if len(output) < 1 || output[0] != 'p' {
    		t.Fatalf("Child process reports stdin is not pipe '%v'", string(output))
    	}
    }
    
    func TestStatRelativeSymlink(t *testing.T) {
    	testenv.MustHaveSymlink(t)
    	t.Parallel()
    
    	tmpdir := t.TempDir()
    	target := filepath.Join(tmpdir, "target")
    	f, err := Create(target)
    	if err != nil {
    		t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
Back to top