summaryrefslogtreecommitdiff
path: root/tests/test-pull-summary-sigs.sh
diff options
context:
space:
mode:
authorJonathan Lebon <jlebon@redhat.com>2016-08-25 12:14:21 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2016-08-31 16:52:12 +0000
commitc4c030cc79728820eee6cd19d58f9826a0eab734 (patch)
treeb01eaad003d6b158a1d9057452747de41bae5d64 /tests/test-pull-summary-sigs.sh
parent157d878ce1a500a2b96d079e2259dbdc30419342 (diff)
downloadostree-c4c030cc79728820eee6cd19d58f9826a0eab734.tar.gz
libtest: add has_gpgme() helper function
Closes: #469 Approved by: cgwalters
Diffstat (limited to 'tests/test-pull-summary-sigs.sh')
-rwxr-xr-xtests/test-pull-summary-sigs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-pull-summary-sigs.sh b/tests/test-pull-summary-sigs.sh
index 65822d23..2dcfbd65 100755
--- a/tests/test-pull-summary-sigs.sh
+++ b/tests/test-pull-summary-sigs.sh
@@ -54,7 +54,7 @@ assert_file_has_content yet-another-copy/yet-another-hello-world "hello world ye
${CMD_PREFIX} ostree --repo=repo fsck
echo "ok pull mirror summary"
-if ! ${CMD_PREFIX} ostree --version | grep -q -e '\+gpgme'; then
+if ! has_gpgme; then
exit 0;
fi