From cc1d26938081653e73d897c56e87de782ca24661 Mon Sep 17 00:00:00 2001 From: tedu Date: Thu, 9 Jan 2014 16:22:04 +0000 Subject: [PATCH] test signing too --- regress/usr.bin/signify/signify.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/regress/usr.bin/signify/signify.sh b/regress/usr.bin/signify/signify.sh index f951db8c7f3..c1c489d9f72 100644 --- a/regress/usr.bin/signify/signify.sh +++ b/regress/usr.bin/signify/signify.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: signify.sh,v 1.1 2014/01/09 16:13:44 tedu Exp $ +# $OpenBSD: signify.sh,v 1.2 2014/01/09 16:22:04 tedu Exp $ srcdir=$1 @@ -11,7 +11,12 @@ forgery="$srcdir/forgery.txt" set -e +signify -s $seckey -o test.sig -S $orders +cmp test.sig "$orders.sig" +rm test.sig + signify -p $pubkey -V $orders > /dev/null + signify -p $pubkey -V $forgery 2> /dev/null && exit 1 true -- 2.20.1