aboutsummaryrefslogtreecommitdiffstats
path: root/tests/migrations
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-07-15 09:59:57 +0000
committerJustus Winter <[email protected]>2016-07-15 09:59:57 +0000
commit12a887050a560c4cacaf95e4cdb0cc42d8b87aa1 (patch)
treeb2605545e93019e8a41a661a4a515e6997582126 /tests/migrations
parentdoc: Update whats-new-in-2.1.txt (diff)
downloadgnupg-12a887050a560c4cacaf95e4cdb0cc42d8b87aa1.tar.gz
gnupg-12a887050a560c4cacaf95e4cdb0cc42d8b87aa1.zip
tests: Check for gpgtar.
* tests/migrations/extended-pkf.scm: Skip test if gpgtar is not built. * tests/migrations/from-classic.scm: Likewise. * tests/openpgp/gpgtar.scm: Fix check for gpgtar. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tests/migrations')
-rwxr-xr-xtests/migrations/extended-pkf.scm3
-rwxr-xr-xtests/migrations/from-classic.scm3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/migrations/extended-pkf.scm b/tests/migrations/extended-pkf.scm
index 3e76532ba..bf2c49e20 100755
--- a/tests/migrations/extended-pkf.scm
+++ b/tests/migrations/extended-pkf.scm
@@ -19,6 +19,9 @@
(load (with-path "common.scm"))
+(catch (skip "gpgtar not built")
+ (call-check `(,GPGTAR --help)))
+
(define src-tarball (in-srcdir "extended-pkf.tar.asc"))
(define (setup)
diff --git a/tests/migrations/from-classic.scm b/tests/migrations/from-classic.scm
index 2128532d8..d540470c3 100755
--- a/tests/migrations/from-classic.scm
+++ b/tests/migrations/from-classic.scm
@@ -19,6 +19,9 @@
(load (with-path "common.scm"))
+(catch (skip "gpgtar not built")
+ (call-check `(,GPGTAR --help)))
+
(define src-tarball (in-srcdir "from-classic.tar.asc"))
(define (setup)