1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

tests/openpgp: Avoid dependency on source files.

* tests/openpgp/plain-largeo.asc: New file.
* tests/openpgp/version.test: Dearmor the new file instead of relying
on the source being present.

Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2016-01-22 12:10:57 +01:00
parent 629284120f
commit 785a7f463e
2 changed files with 4206 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@ -56,14 +56,12 @@ info "Creating sample data files"
for i in 500 9000 32000 80000; do for i in 500 9000 32000 80000; do
$MKTDATA $i >data-$i $MKTDATA $i >data-$i
done done
cat $srcdir/../../doc/HACKING \
$srcdir/../../doc/DETAILS \
$srcdir/../../doc/gpg.texi >plain-large
info "Unpacking samples" info "Unpacking samples"
$GPG --dearmor < $srcdir/plain-1o.asc > ./plain-1 $GPG --dearmor < $srcdir/plain-1o.asc > ./plain-1
$GPG --dearmor < $srcdir/plain-2o.asc > ./plain-2 $GPG --dearmor < $srcdir/plain-2o.asc > ./plain-2
$GPG --dearmor < $srcdir/plain-3o.asc > ./plain-3 $GPG --dearmor < $srcdir/plain-3o.asc > ./plain-3
$GPG --dearmor < $srcdir/plain-largeo.asc > ./plain-large
info "Storing private keys" info "Storing private keys"
for i in 50B2D4FA4122C212611048BC5FC31BD44393626E \ for i in 50B2D4FA4122C212611048BC5FC31BD44393626E \