This commit is contained in:
Thomas von Dein
2016-10-20 23:12:00 +02:00
parent 94ea152460
commit f664cc24c4
9 changed files with 1100 additions and 1153 deletions

View File

@@ -451,30 +451,30 @@ temporarily disabled
<test invalid>
prepare = ./invalidkeys
<test check-testkey-wrong-version>
cmd = $pcp -V $vault -K -I testkey-wrong-version -x xxx
expect = /unknown key version/
</test>
<test check-testkey-wrong-version>
cmd = $pcp -V $vault -K -I testkey-wrong-version -x xxx
expect = /unknown key version/
</test>
<test check-testkey-wrong-serial>
cmd = $pcp -V $vault -K -I testkey-wrong-serial -x xxx
expect = /invalid serial number/
</test>
<test check-testkey-wrong-ctime>
cmd = $pcp -V $vault -K -I testkey-invalid-ctime -x xxx
expect = /invalid creation timestamp/
</test>
/*
<test check-testpubkey-wrong-type>
cmd = $pcp -V $vault -K -I testpubkey-wrong-type
expect = /key type is not PUBLIC/
</test>
<test check-testkey-wrong-serial>
cmd = $pcp -V $vault -K -I testkey-wrong-serial -x xxx
expect = /invalid serial number/
</test>
<test check-testkey-wrong-ctime>
cmd = $pcp -V $vault -K -I testkey-invalid-ctime -x xxx
expect = /invalid creation timestamp/
</test>
/*
<test check-testpubkey-wrong-type>
cmd = $pcp -V $vault -K -I testpubkey-wrong-type
expect = /key type is not PUBLIC/
</test>
<test check-testpubkey-wrong-version>
cmd = $pcp -V $vault -K -I testpubkey-wrong-version
expect = /unknown key version/
</test>
*/
<test check-testpubkey-wrong-version>
cmd = $pcp -V $vault -K -I testpubkey-wrong-version
expect = /unknown key version/
</test>
*/
</test>
<test check-vault-invalid-header>