Skip to content

test: bug369 failing on Plan 9 #9428

@0intro

Description

@0intro

The test bug369 was enabled as part of change 1774.

It is failing on Plan 9, because the working directory
is changed between two go tool 8g calls.

The test is run from /usr/go/test. When running the test,
the working directly is firstly set to ./fixedbugs/bug369.dir
using os.Chdir, then it is reset to /usr/go/test after the first
successfull go tool 8g call.

term% cd /usr/go/test
term% go run run.go -- fixedbugs/bug369.go
# go run run.go -- fixedbugs/bug369.go
exit status: 'go 1364366: 1'
getwd /usr/go/test/fixedbugs/bug369.dir
go tool 8g -N -o slow.8 pkg.go
getwd /usr/go/test
go tool 8g -o fast.8 pkg.go
open pkg.go: 'pkg.go' file does not exist

exit status: 'go 1364381: 1'
exit status: 'bug369 1364373: 1'

FAIL    fixedbugs/bug369.go 1.578s
exit status: 'run 1364363: 1'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions