Module Name:    src
Committed By:   agc
Date:           Wed Jun 10 16:38:21 UTC 2009

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

Log Message:
Add netpgpkeys to the programs to build, and list the keys in the current
keyring as another test.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 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.10 src/crypto/external/bsd/netpgp/dist/tst:1.11
--- src/crypto/external/bsd/netpgp/dist/tst:1.10	Tue Jun  9 00:56:15 2009
+++ src/crypto/external/bsd/netpgp/dist/tst	Wed Jun 10 16:38:21 2009
@@ -8,13 +8,17 @@
 	make cleandir ; \
 	make ; \
 	su root -c "make install"'
+env USETOOLS=no MAKEOBJDIRPREFIX=/usr/obj/i386 sh -c 'cd ../netpgpkeys && \
+	make cleandir ; \
+	make ; \
+	su root -c "make install"'
 env USETOOLS=no MAKEOBJDIRPREFIX=/usr/obj/i386 sh -c 'cd ../netpgpverify && \
 	make cleandir ; \
 	make ; \
 	su root -c "make install"'
 
 passed=0
-total=13
+total=14
 echo "======> sign/verify 180938 file"
 cp configure a
 /usr/bin/netpgp --sign a
@@ -63,6 +67,8 @@
 echo "======> another verify signature - verified cat command"
 /usr/bin/netpgpverify --output=a3 a.gpg
 diff a a3 && passed=$(expr $passed + 1)
+echo "======> list keys"
+/usr/bin/netpgpkeys --list-keys && passed=$(expr $passed + 1)
 echo "======> version information"
 /usr/bin/netpgpverify --version
 rm -f a a.gpg b b.gpg c c.gpg d d.gpg e f f.sig a2 a3

Reply via email to