added more (and better) c++ unittests

This commit is contained in:
TLINDEN
2013-12-02 22:54:04 +01:00
parent fa955d8170
commit a842338c4a
2 changed files with 101 additions and 34 deletions

View File

@@ -484,3 +484,21 @@ dxmorg@florida.cops.gov
| $pcp -V $vault -k -x $passwd
expect = /Generated new secret key/
</test>
#
# test the c++ api
<test check-cpp-crypto>
cmd = ./cpptest 0
expect = /ok/
</test>
<test check-cpp-vault>
cmd = ./cpptest 1
expect = /ok/
</test>
<test check-cpp-import-pub>
cmd = ./cpptest 1
expect = /ok/
</test>