]> Cypherpunks repositories - gostls13.git/commit
net/http: make strace test more robust
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 15 Feb 2012 00:05:51 +0000 (11:05 +1100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 15 Feb 2012 00:05:51 +0000 (11:05 +1100)
commitc210ddfe2c881835a283346e8fa498a777ea8af7
treeb535e9d38f650bd8921db7e58958ac6685928933
parenta50315304d58ab73ea8267f940761f1372e21361
net/http: make strace test more robust

Apparently some distros don't let you ptrace attach
to your own existing processes.

Run strace on the child directly, instead, which
reportedly is more often allowed, and makes the
code simpler too.

R=golang-dev, n13m3y3r
CC=golang-dev
https://golang.org/cl/5675050
src/pkg/net/http/fs_test.go