X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=inline;f=tests%2Fbasic;h=7fdca39e308037506e073b4603a6ecede1da751f;hb=8001b4523c665ee7d9ded64cbdb7081b023b75c1;hp=5ba7a250b948affc504378ee09f2dce4ba79d76f;hpb=59b27e8cae2cd79f99e62cd89aea6dcaf678bf08;p=monkeysphere.git 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)