pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/netpgpverify/files add another test, after so...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f3fa5490b706
branches: trunk
changeset: 642947:f3fa5490b706
user: agc <agc%pkgsrc.org@localhost>
date: Sun Dec 07 22:21:36 2014 +0000
description:
add another test, after some prodding from riz@ - check that the verification
fails when no valid public key for the signature is provided.
diffstat:
security/netpgpverify/files/Makefile.bsd | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 103417c7463e -r f3fa5490b706 security/netpgpverify/files/Makefile.bsd
--- a/security/netpgpverify/files/Makefile.bsd Sun Dec 07 22:14:54 2014 +0000
+++ b/security/netpgpverify/files/Makefile.bsd Sun Dec 07 22:21:36 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bsd,v 1.3 2014/12/04 20:08:47 agc Exp $
+# $NetBSD: Makefile.bsd,v 1.4 2014/12/07 22:21:36 agc Exp $
PROG=netpgpverify
@@ -30,3 +30,6 @@
./${PROG} -S sshtest-20140202.pub data.sig
@echo "expected failure, to check bad signatures fail to verify"
-sed -e 's|A|B|' data.gpg | ./${PROG} -S sshtest-20140202.pub
+ @echo ""
+ @echo "expected failure, no valid key for verification"
+ -./${PROG} -k /dev/null NetBSD-6.0_RC1_hashes.gpg
Home |
Main Index |
Thread Index |
Old Index