commit | 0f0e87736ba6b29c6aa48e1179263c7c7dca57cc | [log] [tgz] |
---|---|---|
author | Cosmos Nicolaou <cnicolaou@google.com> | Wed Sep 10 21:29:25 2014 -0700 |
committer | Cosmos Nicolaou <cnicolaou@google.com> | Wed Sep 10 21:29:26 2014 -0700 |
tree | adc32509f35299eb5b5fed6317bc229a51c30731 | |
parent | 77f1d46cf4d6186837ffa011685f94b16d1f09db [diff] |
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