aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/import.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/openpgp/import.test')
-rwxr-xr-xtests/openpgp/import.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/openpgp/import.test b/tests/openpgp/import.test
index a58db40fe..783d059bb 100755
--- a/tests/openpgp/import.test
+++ b/tests/openpgp/import.test
@@ -43,4 +43,6 @@ $GPG --import $key1 || true
$GPG --import $key2 || true
n=$($GPG --list-keys --with-colons $fpr1 $fpr2 2>/dev/null \
| grep '^pub:.:4096:1:DDA252EBB8EBE1AF:' | wc -l)
-[ $n -ne 2 ] && error "Importing keys with long id collision failed"
+if [ $n -ne 2 ] ; then
+ error "Importing keys with long id collision failed"
+fi