Module Name: src Committed By: agc Date: Sun Jun 7 01:55:03 UTC 2009
Modified Files: src/crypto/external/bsd/netpgp/dist: tst Log Message: Add a test for the null list-packets file. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 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.6 src/crypto/external/bsd/netpgp/dist/tst:1.7 --- src/crypto/external/bsd/netpgp/dist/tst:1.6 Mon May 25 06:43:31 2009 +++ src/crypto/external/bsd/netpgp/dist/tst Sun Jun 7 01:55:02 2009 @@ -10,7 +10,7 @@ su root -c "make install"' passed=0 -total=8 +total=9 echo "======> sign/verify 180938 file" cp configure a /usr/bin/netpgp --sign a @@ -48,4 +48,7 @@ echo "======> version information" /usr/bin/netpgp --version rm -f a a.gpg b b.gpg c c.gpg d d.gpg e f f.sig a2 a3 +echo "======> no list-packets file" +/usr/bin/netpgp --list-packets || passed=$(expr $passed + 1) +rm -f a a.gpg b b.gpg c c.gpg d d.gpg e f f.sig a2 a3 echo "Passed ${passed}/${total} tests"