veyron/lib/testutil/blackbox: Sanitize sub-process environment.
Some shells (e.g. P9P's rc) add environment strings that cannot be parsed
by bash when it attempts to run one of Veyron's generated shell scripts.
This change modifies blackbox's subprocess code to only include
explicitly white-listed environment variables in the environment of
Veyron processes: everything starting with VEYRON_, NAMESPACE_ROOT and
PAUSE_BEFORE_STOP.
Change-Id: Ie420b18dfbc48955b2b28255df128844b9ff4276
4 files changed