diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-04-20 18:51:05 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-04-20 18:51:05 +0000 |
commit | 0e27a180fd0f9270bcfacec0b4940283eaf6eb61 (patch) | |
tree | b689ce45d7dd91e60fe3442d2f6edc6e11d96565 /libgo | |
parent | 76c0db73915571cac056bd054e8a59a57ec784f8 (diff) | |
download | gcc-0e27a180fd0f9270bcfacec0b4940283eaf6eb61.zip gcc-0e27a180fd0f9270bcfacec0b4940283eaf6eb61.tar.gz gcc-0e27a180fd0f9270bcfacec0b4940283eaf6eb61.tar.bz2 |
net/http: Ignore sigaltstack when running strace in test.
Avoids bug in strace 4.5.20 on powerpc-unknown-linux-gnu.
From-SVN: r186635
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/go/net/http/fs_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/net/http/fs_test.go b/libgo/go/net/http/fs_test.go index 5aa93ce..ffba6a7 100644 --- a/libgo/go/net/http/fs_test.go +++ b/libgo/go/net/http/fs_test.go @@ -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 |