summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2010-01-18flesh out check for reasonable-looking service namesDaniel Kahn Gillmor
2010-01-18made public use of m-h show-keys instead of show-key, fixed stupid ↵Daniel Kahn Gillmor
field-numbering bug in fingerprint extraction
2010-01-18renaming host_keys.pub.gpg to host_keys.pub.pgpDaniel Kahn Gillmor
2010-01-18simplified test to cope with possibility of re-ordered keytrans listfprs outputDaniel Kahn Gillmor
2010-01-18fix keytrans test to handle possible permuted output of keytrans listfprs ↵Jameson Rollins
from expected order
2010-01-18add check for multiple secret keys and new listfprs subcommand to tests/keytransDaniel Kahn Gillmor
2010-01-17removed unnecessary tmpfile and repetitive keyid extraction from tests/basicDaniel Kahn Gillmor
2010-01-16fix revocation testJameson Rollins
was revoking the wrong key for the ssh test. test fully passing now!
2010-01-15Try to fix monkeysphere-host and tests/basic for revoke-key testJameson Rollins
Unfortunately there's still a problem that I can't quite figure out. gpg is for some reason failing to import that revocation certificate. Could it be because gpg can't accept ascii armored certificates as input? I'm at a loss.
2010-01-15Merge remote branch 'dkg/master'Jameson Rollins
Conflicts: tests/basic
2010-01-15tweaks to tests/basic for new monkeysphere-host uiJameson Rollins
2010-01-14added missing openssl.cnf for test suite.Daniel Kahn Gillmor
2010-01-14added simple basic test for second key for monkeysphere-host, pulled this ↵Daniel Kahn Gillmor
time from OpenSSL
2010-01-14changed test suite variable from HOSTKEY to SSHHOSTKEY; updated path to ↵Daniel Kahn Gillmor
exported host keys (from ssh_host_rsa_key.pub.gpg to host_keys.gpg.pub)
2010-01-14updating test suite to new preferred "monkeysphere-host ↵Daniel Kahn Gillmor
{add,revoke}-servicename" subcommand
2010-01-14updated test suite to use scheme://hostname instead of raw hostname, in ↵Daniel Kahn Gillmor
preparation for multi-key monkeysphere-host
2010-01-14added test of "monkeysphere keys-for-userid"Daniel Kahn Gillmor
2009-08-01switch to using new checkperms script.Daniel Kahn Gillmor
2009-07-26ensuring that STRICT_MODES gets passed through to the monkeysphere subshell ↵Daniel Kahn Gillmor
properly, and that we set it to a literal "false" in the tests. This should resolve the FTBFS associated with MS #659
2009-07-26make expectedout file during keytrans test in test directory, not in the cwdDaniel Kahn Gillmor
2009-07-26do not make symlinks in the cwd during the testDaniel Kahn Gillmor
2009-07-26skip tests that will not behave properly when run under a loose working ↵Daniel Kahn Gillmor
directory.
2009-07-26make sure test sets proper permissions on the admin GNUPGHOMEDaniel Kahn Gillmor
2009-07-24started preparing tests to work under loosely-permissioned temporary ↵Daniel Kahn Gillmor
directories.
2009-07-16add a 'wait' in the test ssh_test function to try to get around the race ↵Jameson Graef Rollins
condition problem
2009-07-14test revocation against alternate hostnames so that other tests can run ↵Daniel Kahn Gillmor
after the revocation tests.
2009-07-14tests/basic now tests for adding and revoking hostnames.Daniel Kahn Gillmor
2009-07-14recording extra suggested test for keytrans (deal with subkeys?)Daniel Kahn Gillmor
2009-07-14added tests to keytrans add and revoke user ID functionalityDaniel Kahn Gillmor
2009-07-12add more tests for various cases of critical files under symlinked pathsJameson Graef Rollins
2009-07-11update test to test for cases when authorized_user_ids is a symlinkJameson Graef Rollins
2009-07-11switching keyrtrans from Digest::SHA1 to Digest::SHADaniel Kahn Gillmor
2009-07-11update keytrans test to produce more reasonable outputDaniel Kahn Gillmor
2009-07-11Merge commit 'jrollins/master'Daniel Kahn Gillmor
2009-07-11try to make keytrans test useful again.Daniel Kahn Gillmor
2009-07-11more replacement of read -p with printf; read (re #446)mike castleman
2009-06-30some small improvements to test/basic, including checking for sshdJameson Graef Rollins
2009-04-06make test prompt for shell on failure enbabled by default, and turned off ↵Jameson Graef Rollins
with env variable MONKEYSPHERE_TEST_NO_EXAMINE
2009-04-05couple of modifications to the test:Jameson Graef Rollins
- unset MONKEYSPHERE_SUBKEYS_FOR_AGENT, since it will confuse the test into trying to add the user's key to the agent. - use cpio to copy a full directory tree, instead of cp -a, since cp on Darwin doesn't understand the -a option.
2009-03-01break out default variables into their own file: defaultenvJameson Graef Rollins
this allows the common file to be sourced without reseting variables to their defaults, which was causing a problem with su_monkeysphere_user. also added some more debug messages.
2009-03-01tests no longer prompt for bash for inspection unless ↵Daniel Kahn Gillmor
MONKEYSPHERE_TEST_ALLOW_EXAMINATION=prompt (makes running them in an automated environment cleaner). prune extra PATH in tests
2009-02-22Fix how version number is saved/retrieved. Version is now stored inJameson Graef Rollins
VERSION file, which is created in the tarball target. This is then installed at /usr/share/monkeysphere/VERSION, and cat'ed when the version number is requested by the front-end ui. No more manual setting of version number required (to avoid future problems, aka "0.23.1"). This system is also more flexible, as the VERSION file could potentially hold more info than just the release number.
2009-02-21fix bug in ssh connection testJameson Graef Rollins
2009-02-21Merge commit 'dkg/master'Jameson Graef Rollins
2009-02-21making entry into subshell after failed test run more explicit (thanks for ↵Daniel Kahn Gillmor
the suggestion, Ross!)
2009-02-21Merge commit 'dkg/master'Jameson Graef Rollins
2009-02-21cleanup of how ssh_test return code is captured in tests/basicJameson Graef Rollins
2009-02-21added new explicit checks for relevant perl modules in tests/basic.Daniel Kahn Gillmor
2009-02-21some small tweaks to the test:Jameson Graef Rollins
- force all output to go to stdout, so it's more easily grep'able - add "no-tty" to the gpgadmin function so that the gpg output goes to the right place - some small output formating improvements.
2009-02-20monkeysphere-host revoke-key should now be capable of publishing theDaniel Kahn Gillmor
revocation certificate to the keyservers directly, should the admin want that. It can also run without prompting, if MONKEYSPHERE_PROMPT=false. In the no-prompts case, it never publishes to the keyserver, it indicates that the key was compromised, and it writes a boilerplate description to make it easy to identify this kind of certificate.