summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Lyle <greg@stealthisemail.com>2010-10-02 16:10:09 -0400
committerGreg Lyle <greg@stealthisemail.com>2010-10-04 00:06:28 -0400
commit54fb53948883c86e46510be061b86db98c240ad5 (patch)
treebd56affcfd0e076150593e138af96a3d1dfdd1b1
parent96dcef5bcdbb90745f2595f5734b9a7d3742878f (diff)
Test coverage for monkeysphere-authentication keys-for-user
-rwxr-xr-xtests/basic5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/basic b/tests/basic
index 9ae04b4..151e131 100755
--- a/tests/basic
+++ b/tests/basic
@@ -567,6 +567,11 @@ target_hostname=testhost2.example ssh_test true 255
# FIXME: addtest: how do we test that set-expire makes sense after new
# servicenames have been added?
+echo
+echo "##################################################"
+echo "### testing monkeysphere authentication keys-for-user"
+diff -q <(monkeysphere-authentication keys-for-user $(whoami)) <(cut -d' ' -f1,2 ${MONKEYSPHERE_SYSDATADIR}/authorized_keys/${MONKEYSPHERE_MONKEYSPHERE_USER})
+
# test to make sure things are OK after the previous tests:
echo
echo "##################################################"