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

flag: TestExitCode failing on Plan 9 #38237

Closed
0intro opened this issue Apr 3, 2020 · 1 comment
Closed

flag: TestExitCode failing on Plan 9 #38237

0intro opened this issue Apr 3, 2020 · 1 comment

Comments

@0intro
Copy link
Member

0intro commented Apr 3, 2020

CL 221427 added TestExitCode. This test is failing on Plan 9.

flag provided but not defined: -x
flag needs an argument: -b
Usage of test:
  -b	usage
--- FAIL: TestExitCode (0.06s)
    flag_test.go:603: unexpected exit code for test case {flag:-undefined flagHandle: expectExit:2} 
        : got 1, expect 2
    flag_test.go:603: unexpected exit code for test case {flag:-h flagHandle:h expectExit:123} 
        : got 1, expect 123
    flag_test.go:603: unexpected exit code for test case {flag:-help flagHandle:help expectExit:123} 
        : got 1, expect 123
FAIL
FAIL	flag	0.094s

See https://build.golang.org/log/a1b96ba1f2c506abe814a4eddbf6335372c32d4d

@0intro 0intro added the OS-Plan9 label Apr 3, 2020
@0intro 0intro self-assigned this Apr 3, 2020
@gopherbot
Copy link

Change https://golang.org/cl/227158 mentions this issue: flag: fix TestExitCode on Plan 9

@bcmills bcmills added this to the Go1.15 milestone Apr 3, 2020
@golang golang locked and limited conversation to collaborators Apr 3, 2021
@rsc rsc unassigned 0intro Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants