net/http: Ignore sigaltstack when running strace in test.
Avoids bug in strace 4.5.20 on powerpc-unknown-linux-gnu. From-SVN: r186635
This commit is contained in:
parent
76c0db7391
commit
0e27a180fd
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ func TestLinuxSendfile(t *testing.T) {
|
|||
defer ln.Close()
|
||||
|
||||
var buf bytes.Buffer
|
||||
child := exec.Command("strace", "-f", os.Args[0], "-test.run=TestLinuxSendfileChild")
|
||||
child := exec.Command("strace", "-f", "-e!sigaltstack", os.Args[0], "-test.run=TestLinuxSendfileChild")
|
||||
child.ExtraFiles = append(child.ExtraFiles, lnf)
|
||||
child.Env = append([]string{"GO_WANT_HELPER_PROCESS=1"}, os.Environ()...)
|
||||
child.Stdout = &buf
|
||||
|
|
Loading…
Add table
Reference in a new issue