mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
1fbfa1bf0a
* tests/openpgp/4gb-packet.test: Use error and info. Signed-off-by: Werner Koch <wk@gnupg.org>
15 lines
299 B
Bash
Executable File
15 lines
299 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. $srcdir/defs.inc || exit 3
|
|
|
|
# GnuPG through 2.1.7 would incorrect mark packets whose size is
|
|
# 2^32-1 as invalid and exit with status code 2.
|
|
i=$srcdir/4gb-packet.asc
|
|
|
|
if ! $GPG --list-packets $i >/dev/null
|
|
then
|
|
error Failed to parse 4GB packet.
|
|
else
|
|
info Can parse 4GB packets.
|
|
fi
|