Module Name:    src
Committed By:   agc
Date:           Wed Apr 14 06:22:55 UTC 2010

Modified Files:
        src/crypto/external/bsd/netpgp/dist: tst

Log Message:
add a test for RSA key generation


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/crypto/external/bsd/netpgp/dist/tst

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/netpgp/dist/tst
diff -u src/crypto/external/bsd/netpgp/dist/tst:1.21 src/crypto/external/bsd/netpgp/dist/tst:1.22
--- src/crypto/external/bsd/netpgp/dist/tst:1.21	Sat Mar 13 23:30:40 2010
+++ src/crypto/external/bsd/netpgp/dist/tst	Wed Apr 14 06:22:55 2010
@@ -31,7 +31,7 @@
 	su root -c "make install"'
 
 passed=0
-total=27
+total=28
 echo "======> sign/verify 180938 file"
 cp configure a
 /usr/bin/netpgp --sign a
@@ -123,5 +123,7 @@
 /usr/bin/netpgp --verify h.sig || passed=$(expr $passed + 1)
 echo "======> list signatures and subkey signatures"
 /usr/bin/netpgpkeys --list-sigs && passed=$(expr $passed + 1)
+echo "======> generate a new RSA key"
+/usr/bin/netpgpkeys --generate-key && passed=$(expr $passed + 1)
 rm -f a a.gpg b b.gpg c c.gpg d d.gpg e f f.sig g g.asc g2 a2 a3 a4 a5 h h.sig
 echo "Passed ${passed}/${total} tests"

Reply via email to