veyron/lib/modules: fix a test -race problem.

Closing a pipe which has an outstanding read leads a -race failure.
This is unavoidable given the underlying UNIX API, so we work around
it by using sycall.Close on the file descriptor rather than the Close
method on the io.Closer interface.

Change-Id: If576b549a36c9e1fd4cd7daa0d270e7c21e43a38
6 files changed
tree: adc32509f35299eb5b5fed6317bc229a51c30731
  1. lib/
  2. profiles/
  3. runtimes/
  4. security/
  5. services/
  6. tools/