net/http: Ignore sigaltstack when running strace in test.
Avoids bug in strace 4.5.20 on powerpc-unknown-linux-gnu. From-SVN: r186636
This commit is contained in:
parent
efe8453a27
commit
48baa71a63
|
@ -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…
Reference in New Issue