artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85db7b6
)
test signing too
author
tedu
<tedu@openbsd.org>
Thu, 9 Jan 2014 16:22:04 +0000
(16:22 +0000)
committer
tedu
<tedu@openbsd.org>
Thu, 9 Jan 2014 16:22:04 +0000
(16:22 +0000)
regress/usr.bin/signify/signify.sh
patch
|
blob
|
history
diff --git
a/regress/usr.bin/signify/signify.sh
b/regress/usr.bin/signify/signify.sh
index
f951db8
..
c1c489d
100644
(file)
--- 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:4
4 tedu Exp $
+# $OpenBSD: signify.sh,v 1.
2 2014/01/09 16:22:0
4 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