From c4b0a1e409cab69558aaa0fd47f7076ed6481e3e Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Sun, 17 Jan 2010 22:23:25 -0500 Subject: [PATCH] removed unnecessary tmpfile and repetitive keyid extraction from tests/basic --- tests/basic | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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..." -- 2.25.1