]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.8] net/http: Fix TestLinuxSendfile without strace permissions
authorKenny Grant <kennygrant@gmail.com>
Fri, 17 Mar 2017 23:03:34 +0000 (23:03 +0000)
committerRuss Cox <rsc@golang.org>
Fri, 20 Oct 2017 16:33:04 +0000 (12:33 -0400)
commit64f53b2573c3eb6fce9a63d395d911bf560e85f0
treeaa9a7cc1e761425576b404e3446b285956d73fc6
parent235fe5d0724da3e8465d7c712de93ac26e786397
[release-branch.go1.8] net/http: Fix TestLinuxSendfile without strace permissions

If go doesn't have permission to run strace, this test hangs while
waiting for strace to run. Instead try invoking strace with
Run() first - on fail skip and report error, otherwise run
the test normally using strace.

Also fix link to open mips64 issue in same test.

Fixes #9711

Change-Id: Ibbc5fbb143ea6d0f8b6cfdca4b385ef4c8960b3d
Reviewed-on: https://go-review.googlesource.com/38633
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/fs_test.go