Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGlobSymlink (0.11 sec)

  1. src/path/filepath/match_test.go

    	// See issue 15879.
    	Glob(`\\?\C:\*`)
    }
    
    var globSymlinkTests = []struct {
    	path, dest string
    	brokenLink bool
    }{
    	{"test1", "link1", false},
    	{"test2", "link2", true},
    }
    
    func TestGlobSymlink(t *testing.T) {
    	testenv.MustHaveSymlink(t)
    
    	tmpDir := t.TempDir()
    	for _, tt := range globSymlinkTests {
    		path := Join(tmpDir, tt.path)
    		dest := Join(tmpDir, tt.dest)
    		f, err := os.Create(path)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top