mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
tests/openpgp: Skip gpgtar test if it has not been built.
* tests/openpgp/gpgtar.test: Check if executable exists. GnuPG-bug-id: 2261 Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
d040628ddf
commit
a883d4c0f8
@ -33,6 +33,12 @@ GPGARGS="$opt_always --no-permission-warning"
|
||||
GPGTAR="../../tools/gpgtar"
|
||||
GPGZIP="sh ../../tools/gpg-zip"
|
||||
|
||||
# Skip test if gpgtar has not been built.
|
||||
if ! test -x "$GPGTAR"
|
||||
then
|
||||
exit 77
|
||||
fi
|
||||
|
||||
# Create, inspect, and extract an archive with the given options.
|
||||
#
|
||||
# $1 the tool to test
|
||||
|
Loading…
x
Reference in New Issue
Block a user