Skip to content

os/exec: TestExitCode failing on Plan 9 #27294

@0intro

Description

@0intro

CL 125443 added TestExitCode. However, this test is failing on Plan 9, because Plan 9 programs return a string and not an exit code.

--- FAIL: TestExitCode (0.05s)
    exec_test.go:178: ExitCode got 1, want 42
    exec_test.go:186: ExitCode got 1, want 2
    exec_test.go:194: ExitCode got 1, want 255
FAIL
FAIL	os/exec	1.426s

See https://build.golang.org/log/8411cb50158709f843f78d9c6634bf005b6dc1fb

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions