summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2009-01-31 17:27:18 -0500
committerMicah Anderson <micah@riseup.net>2009-01-31 17:27:18 -0500
commitaaa834da0f1eb3ea52aabc9809dfe3510a159797 (patch)
tree1f3ba3973ba68b715e902c149a2510c8235e884c /tests
parent848f2e10f0ec24c8cbc12277948159312b4b71c2 (diff)
resyn implementation of m-s gen-key with the help output
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)