summaryrefslogtreecommitdiff
path: root/tests/basic
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-02-18 12:11:47 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-02-18 12:11:47 -0500
commite3bb810e188cae2d40a5191500a501c85cb93381 (patch)
treeb6afe37b95e8898cb8dd3577b62bc7859c3e3ed4 /tests/basic
parent838f52739cc05bfaca19e49bc64c17b435022f1c (diff)
enforce --no-armor when exporting to openpgp2ssh in case weird gpg.conf options (see bug 1625)
Diffstat (limited to 'tests/basic')
-rwxr-xr-xtests/basic8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/basic b/tests/basic
index 4ceabd4..9b9eb05 100755
--- a/tests/basic
+++ b/tests/basic
@@ -355,6 +355,14 @@ echo "##################################################"
echo "### ssh connection test for success..."
ssh_test
+# Make sure it works if there is "armor" written in gpg.conf
+# add other weirdnesses here as they come up.
+echo
+echo "##################################################"
+echo "### testing functionality in the face of unusual gpg.conf settings..."
+echo 'armor' >> "$GNUPGHOME"/gpg.conf
+ssh_test
+
# remove the testuser's authorized_user_ids file, update, and make
# sure that the ssh authentication FAILS
echo