fix test for keys-for-user
authorJameson Rollins <jrollins@finestructure.net>
Mon, 18 Oct 2010 05:49:58 +0000 (01:49 -0400)
committerJameson Rollins <jrollins@finestructure.net>
Mon, 18 Oct 2010 20:33:17 +0000 (16:33 -0400)
tests/basic

index 151e13182bb034ad6e07dfb1325afdaa340705e6..f591c59068b55317760b8a24facd78d50a9d74d6 100755 (executable)
@@ -570,7 +570,7 @@ target_hostname=testhost2.example ssh_test true 255
 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}) 
+diff -q <(monkeysphere-authentication keys-for-user $(whoami) | cut -d' ' -f1,2) <(cut -d' ' -f1,2 ${MONKEYSPHERE_SYSDATADIR}/authorized_keys/${MONKEYSPHERE_MONKEYSPHERE_USER}) 
 
 # test to make sure things are OK after the previous tests:
 echo