summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJameson Rollins <jrollins@finestructure.net>2010-10-18 01:49:58 -0400
committerJameson Rollins <jrollins@finestructure.net>2010-10-18 16:33:17 -0400
commit7f20193196c87b2cff0bf95d5ec53b5be3bdabb8 (patch)
tree466e0198653f587f6dbb42313b4d7103ee4aae05
parent254fec88ee3a800a77126f040e1b99841d0cbc08 (diff)
fix test for keys-for-user
-rwxr-xr-xtests/basic2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic b/tests/basic
index 151e131..f591c59 100755
--- a/tests/basic
+++ b/tests/basic
@@ -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