Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(125)

Unified Diff: src/pkg/net/http/cgi/host_test.go

Issue 3749041: code review 3749041: os/signal: selective signal handling (Closed)
Patch Set: diff -r 9d7addec2635 https://go.googlecode.com/hg/ Created 13 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/exp/signal/signal_test.go ('k') | src/pkg/os/exec.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/net/http/cgi/host_test.go
===================================================================
--- a/src/pkg/net/http/cgi/host_test.go
+++ b/src/pkg/net/http/cgi/host_test.go
@@ -19,6 +19,7 @@
"runtime"
"strconv"
"strings"
+ "syscall"
"testing"
"time"
)
@@ -355,7 +356,7 @@
if err != nil {
return false
}
- return p.Signal(os.UnixSignal(0)) == nil
+ return p.Signal(syscall.Signal(0)) == nil
}
if !childRunning() {
« no previous file with comments | « src/pkg/exp/signal/signal_test.go ('k') | src/pkg/os/exec.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b