From: Daniel Kahn Gillmor Date: Mon, 18 Jan 2010 03:23:25 +0000 (-0500) Subject: removed unnecessary tmpfile and repetitive keyid extraction from tests/basic X-Git-Tag: monkeysphere_0.28~37 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=c4b0a1e409cab69558aaa0fd47f7076ed6481e3e;p=monkeysphere.git removed unnecessary tmpfile and repetitive keyid extraction from tests/basic --- diff --git a/tests/basic b/tests/basic index 1d51a69..ad9fb12 100755 --- 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) -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..."