[Ndn-interest] running unit-test-rib in NFD

Junxiao Shi shijunxiao at email.arizona.edu
Fri Sep 27 14:53:03 PDT 2019


Hi Wenkai

Test case should never access system's default KeyChain, except in rare
circumstances.
You should be inheriting from IdentityManagementFixture that provides a
mock KeyChain.

Yours, Junxiao

On Fri, Sep 27, 2019 at 12:20 AM Wenkai Zheng <wenkaizheng at email.arizona.edu>
wrote:

> Hi all,
> i tried to run my own testcase in service.t.cpp, but i got this error
> message below , and is there any suggestions for how to solve it ?
>
> fatal error: in "BackEndOsx":
> ../ndn-cxx/security/tpm/back-end-osx.cpp(191): Throw in function BackEndOsx
>
> Dynamic exception type:
> boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<ndn::security::tpm::BackEnd::Error>
> >
>
> std::exception::what: No default keychain, create one first.
>
>
> Best regards,
> Wenkai Zheng
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20190927/13add7f8/attachment.html>


More information about the Ndn-interest mailing list