projects
/
epoint
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2932d1f
)
basic test: save server log
author
nsz
<nsz@port70.net>
Mon, 23 Jan 2012 21:20:03 +0000
(22:20 +0100)
committer
nsz
<nsz@port70.net>
Mon, 23 Jan 2012 21:20:03 +0000
(22:20 +0100)
pkg/server/server.go
patch
|
blob
|
history
test/basic.sh
patch
|
blob
|
history
diff --git
a/pkg/server/server.go
b/pkg/server/server.go
index
0271155
..
93d8da2
100644
(file)
--- a/
pkg/server/server.go
+++ b/
pkg/server/server.go
@@
-308,7
+308,7
@@
func handle(w *work) {
} else {
panic("unreachable")
}
- log.Printf("finish work: %s outlen: %d
, errtype: %T", w.account, len(w.out), w.err
)
+ log.Printf("finish work: %s outlen: %d
", w.account, len(w.out)
)
delchan <- w
w.sync <- 0
}
diff --git
a/test/basic.sh
b/test/basic.sh
index
857e19e
..
1406944
100644
(file)
--- a/
test/basic.sh
+++ b/
test/basic.sh
@@
-27,7
+27,7
@@
query() {
rm -rf $CSTORE $SSTORE
-epoint-server $SFLAG &
+epoint-server $SFLAG
2> server.log
&
echo $! >server.pid
sleep 1