mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-18 04:10:57 +01:00
updated unittests
This commit is contained in:
@@ -67,12 +67,12 @@ dxmorg@florida.cops.gov
|
||||
</test>
|
||||
|
||||
<test check-export-public-key>
|
||||
cmd = $pcp -V $vault -l | tail -1 | cut -d ' ' -f 1 | xargs $pcp -V $vault -p -i
|
||||
expect = /BEGIN PCP PUBLIC KEY/
|
||||
cmd = $pcp -V $vault -l | tail -1 | cut -d ' ' -f 1 | xargs $pcp -V $vault -p -x $passwd -z -i
|
||||
expect = /PUBLIC KEY/
|
||||
</test>
|
||||
|
||||
<test check-export-public-key-tofile>
|
||||
cmd = $pcp -V $vault -l | tail -1 | cut -d ' ' -f 1 | xargs $pcp -V $vault -p -O testkey-self -i
|
||||
cmd = $pcp -V $vault -l | tail -1 | cut -d ' ' -f 1 | xargs $pcp -V $vault -p -x $passwd -O testkey-self -i
|
||||
expect-file = testkey-self
|
||||
</test>
|
||||
|
||||
@@ -362,15 +362,12 @@ temporarily disabled
|
||||
</test>
|
||||
*/
|
||||
|
||||
/*
|
||||
* Disabled, since z85 standalone mode currently disabled
|
||||
<test check-if-catch-nokey-behind-z85>
|
||||
prepare = ./jot 30 | while read ignore; do echo XXXXX; done \
|
||||
| $pcp -z > testfile-nokey
|
||||
cmd = $pcp -V $vault -P -I testfile-nokey
|
||||
expect = /result to a proper sized key/
|
||||
</test>
|
||||
*/
|
||||
|
||||
<test check-if-sanity-catch-nosecret>
|
||||
cmd = $pcp -V $vault -S -I bart.pub
|
||||
|
||||
Reference in New Issue
Block a user