Test coverage for monkeysphere-authentication keys-for-user
authorGreg Lyle <greg@stealthisemail.com>
Sat, 2 Oct 2010 20:10:09 +0000 (16:10 -0400)
committerGreg Lyle <greg@stealthisemail.com>
Mon, 4 Oct 2010 04:06:28 +0000 (00:06 -0400)
tests/basic

index 9ae04b4e3e031c80ac0eb55c9b2a8c71b4add168..151e13182bb034ad6e07dfb1325afdaa340705e6 100755 (executable)
@@ -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 "##################################################"