veyron/security/agent: Bugfix and tests.
When using an agent, Principal.Roots().Recognized() was doing
the wrong thing. Fixed that (see client.go) and added an integration
tests for methods on the Principal for a process running under the
agent.
Without the change to client.go (and with the change to test.sh),
the test fails with:
agentd: test_principal...vanadium/release/go/src/v.io/core/veyron/security/agent/test_principal/main.go:73:
Roots().Recognized returned nil
Change-Id: Ifa7b79755abf0799e147c14c62de7ec0e7b168a2
5 files changed