"core/veyron/lib/exec": Close extra file descriptors

Joint work with @ribrdb

The lib/exec test fails when run under an agent due to the
extra file descriptors inherited from it. This CL fixes this
by closing any extra file descriptors (beyond 2) before running
the test.

Change-Id: Iefba51cf83f29f768f2e2f134c65e2b0b8b70470
1 file changed
tree: 36e3950ce6e3e2aa5fc9a970a337a9dd53d1ff54
  1. lib/
  2. profiles/
  3. runtimes/
  4. security/
  5. services/
  6. tools/