1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +01:00
gnupg/tests/openpgp/4gb-packet.test
Werner Koch 7a0c3cc760
tests: Silence the 5gb-packet test.
* tests/openpgp/4gb-packet.test: Send output to /dev/null.

Signed-off-by: Werner Koch <wk@gnupg.org>
2015-09-10 18:12:22 +02:00

17 lines
316 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
echo Failed to parse 4GB packet.
exit 1
else
echo Can parse 4GB packets.
exit 0
fi