added unittest for symetric crypto

This commit is contained in:
TLINDEN
2014-01-22 23:29:28 +01:00
parent 1efff67d37
commit f09d4774cb
4 changed files with 20 additions and 3 deletions

View File

@@ -178,6 +178,17 @@ dxmorg@florida.cops.gov
</test>
</test>
#
# symetric encryption test
<test check-sym-encrypt>
cmd = echo HELLOWORLD | $pcp -e -O testsymencrypted -x a
expect = /symetrically/
</test>
<test check-sym-decrypt>
cmd = $pcp -d -I testsymencrypted -x a
expect = /HELLO/
</test>
#
# check usage of unencrypted secret key