aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/4gb-packet.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/openpgp/4gb-packet.scm')
-rwxr-xr-xtests/openpgp/4gb-packet.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/openpgp/4gb-packet.scm b/tests/openpgp/4gb-packet.scm
index b827181a6..109e61dc9 100755
--- a/tests/openpgp/4gb-packet.scm
+++ b/tests/openpgp/4gb-packet.scm
@@ -23,6 +23,7 @@
(load (with-path "defs.scm"))
(setup-environment)
-(if (= 0 (call `(,@GPG --list-packets ,(in-srcdir "4gb-packet.asc"))))
- (info "Can parse 4GB packets.")
- (fail "Failed to parse 4GB packet."))
+(unless (have-compression-algo? "BZIP2")
+ (skip "BZIP2 support not compiled in."))
+
+(call-check `(,@GPG --list-packets ,(in-srcdir "4gb-packet.asc")))