projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76c0db7
)
net/http: Ignore sigaltstack when running strace in test.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 20 Apr 2012 18:51:05 +0000
(18:51 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 20 Apr 2012 18:51:05 +0000
(18:51 +0000)
Avoids bug in strace 4.5.20 on powerpc-unknown-linux-gnu.
From-SVN: r186635
libgo/go/net/http/fs_test.go
patch
|
blob
|
history
diff --git
a/libgo/go/net/http/fs_test.go
b/libgo/go/net/http/fs_test.go
index 5aa93ce58373d7437b79363e6aa5dab2b0666467..ffba6a7bcb79d47ff5b1e2bb2e28a52525cdfb73 100644
(file)
--- 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