summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-01-31 17:47:25 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-01-31 17:47:25 -0500
commit4b05c5750ef56d4573ad251b6193da83a30d9a39 (patch)
tree1fb1c7aecfb7839053f57a702a68e50691f6d894 /tests
parent6669fde614e1ca4e52de13e391f8115e49e86ab9 (diff)
parentaaa834da0f1eb3ea52aabc9809dfe3510a159797 (diff)
merging changes from micah
Diffstat (limited to 'tests')
-rwxr-xr-xtests/basic5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/basic b/tests/basic
index 5ba7a25..7fdca39 100755
--- a/tests/basic
+++ b/tests/basic
@@ -8,8 +8,7 @@
# Copyright: 2008
# License: GPL v3 or later
-# these tests should all be able to
-# as a non-privileged user.
+# these tests should all be able to run as a non-privileged user.
# all subcommands in this script should complete without failure:
set -e
@@ -193,7 +192,7 @@ echo | monkeysphere-server gen-key --length 1024 --expire 0 testhost
# remove the gpg.conf
rm "$MONKEYSPHERE_SYSCONFIGDIR"/gnupg-host/gpg.conf
-HOSTKEYID=$( monkeysphere-server show-key | tail -n1 | cut -f3 -d\ )
+HOSTKEYID=$( monkeysphere-server show-key | grep '^OpenPGP fingerprint: ' | cut -f3 -d\ )
# certify it with the "Admin's Key".
# (this would normally be done via keyservers)