removed unnecessary tmpfile and repetitive keyid extraction from tests/basic
[monkeysphere.git] / tests / basic
index 15afa77fe1dd4bf7817395f61930677e0b7e6e1a..ad9fb12eaa642d4121cc385fe0d1af12998b8c76 100755 (executable)
@@ -567,7 +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)
-monkeysphere-host revoke-key | gpg --import
+monkeysphere-host revoke-key "$SSHHOSTKEYID" | gpg --import
 echo
 echo "##################################################"
 echo "### ssh connection test for failure..."