Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: TestScript/list_ambiguous_path failing on Plan 9 #35072

Closed
0intro opened this issue Oct 22, 2019 · 1 comment
Closed

cmd/go: TestScript/list_ambiguous_path failing on Plan 9 #35072

0intro opened this issue Oct 22, 2019 · 1 comment
Assignees
Labels

Comments

@0intro
Copy link
Member

@0intro 0intro commented Oct 22, 2019

CL 198459 added TestScript/list_ambiguous_path. This test is failing on Plan 9 because the returned error doesn't match the expected no such file or directory error.

--- FAIL: TestScript (0.02s)
    --- FAIL: TestScript/list_ambiguous_path (0.59s)
        script_test.go:191: 
            # Ensures that we can correctly list package patterns ending in '.go'.
            # See golang.org/issue/34653.
            # A single pattern for a package ending in '.go'. (0.100s)
            # Multiple patterns for packages including one ending in '.go'. (0.105s)
            # A single pattern for a Go file. (0.177s)
            # A single typo-ed pattern for a Go file. This should
            # treat the wrong pattern as if it were a package. (0.094s)
            # Multiple patterns for Go files with a typo. This should
            # treat the wrong pattern as if it were a non-existint file. (0.089s)
            > ! go list ./foo.go/a.go ./foo.go/b.go
            [stderr]
            stat ./foo.go/b.go: './foo.go/b.go' does not exist
            [exit status: 'go 22795: 1']
            > [windows] stderr './foo.go/b.go: The system cannot find the file specified'
            > [!windows] stderr './foo.go/b.go: no such file or directory'
            FAIL: testdata/script/list_ambiguous_path.txt:26: no match for `(?m)./foo.go/b.go: no such file or directory` found in stderr
            
FAIL
FAIL	cmd/go	304.965s
@0intro 0intro added the OS-Plan9 label Oct 22, 2019
@0intro 0intro self-assigned this Oct 22, 2019
@gopherbot

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Oct 22, 2019

Change https://golang.org/cl/202447 mentions this issue: cmd/go: fix TestScript/list_ambiguous_path on Plan 9

@gopherbot gopherbot closed this in 19d2a1c Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.