1
0
mirror of https://github.com/golang/go synced 2024-11-18 03:14:44 -07:00
go/misc/cgo/stdio
Shenghou Ma 674bbafce6 misc/cgo/stdio: make it work on Windows and also test it
use a function to get stdout and stderr, instead of depending
on a specific libc implementation.
also make test/run.go replace \r\n by \n before comparing
output.

        Fixes #2121.
        Part of issue 1741.

R=alex.brainman, rsc, r, remyoudompheng
CC=golang-dev
https://golang.org/cl/5847068
2012-09-20 00:27:23 +08:00
..
chain.go misc/cgo/{life,stdio}, test/run.go: use test/run.go to do the cgo tests 2012-08-07 09:38:35 +08:00
chain.out misc/cgo/{life,stdio}, test/run.go: use test/run.go to do the cgo tests 2012-08-07 09:38:35 +08:00
fib.go misc/cgo/{life,stdio}, test/run.go: use test/run.go to do the cgo tests 2012-08-07 09:38:35 +08:00
fib.out misc/cgo/{life,stdio}, test/run.go: use test/run.go to do the cgo tests 2012-08-07 09:38:35 +08:00
file.go misc/cgo/{life,stdio}, test/run.go: use test/run.go to do the cgo tests 2012-08-07 09:38:35 +08:00
hello.go misc/cgo/{life,stdio}, test/run.go: use test/run.go to do the cgo tests 2012-08-07 09:38:35 +08:00
hello.out misc/cgo/{life,stdio}, test/run.go: use test/run.go to do the cgo tests 2012-08-07 09:38:35 +08:00
run.out misc/cgo/{life,stdio}, test/run.go: use test/run.go to do the cgo tests 2012-08-07 09:38:35 +08:00
stdio.go misc/cgo/stdio: make it work on Windows and also test it 2012-09-20 00:27:23 +08:00