From: Greg Lyle Date: Sat, 2 Oct 2010 20:10:09 +0000 (-0400) Subject: Test coverage for monkeysphere-authentication keys-for-user X-Git-Tag: monkeysphere_0.32-1~2^2~3^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=54fb53948883c86e46510be061b86db98c240ad5;p=monkeysphere.git Test coverage for monkeysphere-authentication keys-for-user --- 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 "##################################################"