veyron/{services/mgmt,tools}: end-to-end tests for binaryd, buildd, and profiled
This CL adds end-to-end 'test.sh' shell tests for the binary
repository, build server, and profile repository daemons. It also
makes minor modifications to these daemons and the client tools used
for communicatining with the daemons. Further, the CL extends an
existing end-to-end test for the application repository daemon with an
additional check.
This CL depends on https://veyron-review.googlesource.com/#/c/4005/
Change-Id: I4f02e552fc4ca776f2762058f1f936eb90c77fac
diff --git a/tools/build/impl/impl.go b/tools/build/impl/impl.go
index a584861..f575475 100644
--- a/tools/build/impl/impl.go
+++ b/tools/build/impl/impl.go
@@ -177,8 +177,8 @@
errchan <- fmt.Errorf("Advance() failed: %v", err)
return
}
- if _, err := stream.Finish(); err != nil {
- errchan <- fmt.Errorf("Finish() failed: %v", err)
+ if out, err := stream.Finish(); err != nil {
+ errchan <- fmt.Errorf("Finish() failed: (%v, %v)", out, err)
return
}
errchan <- nil