projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed unnecessary tmpfile and repetitive keyid extraction from tests/basic
[monkeysphere.git]
/
tests
/
basic
diff --git
a/tests/basic
b/tests/basic
index 1d51a698f3df10e2e66e53de1747b9ee9c5b2094..ad9fb12eaa642d4121cc385fe0d1af12998b8c76 100755
(executable)
--- a/
tests/basic
+++ b/
tests/basic
@@
-567,10
+567,7
@@
echo "##################################################"
echo "### revoking ssh host key..."
# generate the revocation certificate and feed it directly to the test
# user's keyring (we're not publishing to the keyservers)
echo "### revoking ssh host key..."
# generate the revocation certificate and feed it directly to the test
# user's keyring (we're not publishing to the keyservers)
-keyID=$(monkeysphere-host s 'ssh://testhost' | grep 'OpenPGP fingerprint:' | awk '{ print $3 }')
-monkeysphere-host revoke-key "$keyID" >"$TEMPDIR"/revcert
-cat "$TEMPDIR"/revcert
-<"$TEMPDIR"/revcert gpg --import
+monkeysphere-host revoke-key "$SSHHOSTKEYID" | gpg --import
echo
echo "##################################################"
echo "### ssh connection test for failure..."
echo
echo "##################################################"
echo "### ssh connection test for failure..."