summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/signify/Makefile7
-rw-r--r--regress/usr.bin/signify/signify.sh4
2 files changed, 6 insertions, 5 deletions
diff --git a/regress/usr.bin/signify/Makefile b/regress/usr.bin/signify/Makefile
index 208bc5eff38..dd4054b3c85 100644
--- a/regress/usr.bin/signify/Makefile
+++ b/regress/usr.bin/signify/Makefile
@@ -1,10 +1,11 @@
-# $OpenBSD: Makefile,v 1.4 2014/03/17 02:49:02 tedu Exp $
+# $OpenBSD: Makefile,v 1.5 2020/04/03 12:01:56 bluhm Exp $
-CLEANFILES += test.sig confirmorders confirmorders.sig HASH.sig
+CLEANFILES += test.sig confirmorders confirmorders.sig HASH HASH.sig \
+ archive.tgz signed.tgz
REGRESS_TARGETS = t1
t1:
- @sh ${.CURDIR}/signify.sh ${.CURDIR}
+ sh ${.CURDIR}/signify.sh ${.CURDIR}
.PHONY: t1
diff --git a/regress/usr.bin/signify/signify.sh b/regress/usr.bin/signify/signify.sh
index d83dff79b19..13d8319a1a8 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.9 2019/12/09 09:41:54 espie Exp $
+# $OpenBSD: signify.sh,v 1.10 2020/04/03 12:01:56 bluhm Exp $
srcdir=$1
@@ -28,7 +28,7 @@ signify -S -e -s $seckey -m HASH
rm HASH
signify -C -q -p $pubkey -x HASH.sig
-tar zcPf archive.tgz $srcdir
+tar zcPf archive.tgz $srcdir/*.txt
signify -zS -s $seckey -m archive.tgz -x signed.tgz
# check it's still valid gzip
gunzip -t signed.tgz