summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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.
2009-02-19The monkeysphere {import,gen}_subkey functions were not up-to-date.Jameson Graef Rollins
did a lot of work to bring them up-to-date, and better handle argument checking. also updated man page, changelog, and tests/basic.
2009-02-19modify import_key to take the key file to import as an argument. can be '-' ↵Jameson Graef Rollins
to import from stdin. modify man page and test accordingly.
2009-02-19shipping transition script; requiring manual version synchronization between ↵Daniel Kahn Gillmor
common and the changelog (until we come up with a more general templating build process)
2009-02-19moved directory for monkeysphere-generated authorized_keys files back to its ↵Daniel Kahn Gillmor
old location at /var/lib/monkeysphere/authorized_keys
2009-02-17bring tests/basic uptodate with the new PROMPT env variable.Jameson Graef Rollins
2009-02-17add README to tests/ directoryJameson Graef Rollins
2009-02-17add ability to bypass prompting with a MONKEYSPHERE_PROMPT variable,Jameson Graef Rollins
for functions that prompt for confirmation. Also fix publish_key function (NOT TESTED).
2009-02-17fix a couple of left over references to expertJameson Graef Rollins
2009-02-16fix reference to HOST_FINGERPRINT in show-key, and fix some referencesJameson Graef Rollins
to "expert" in test.
2009-02-12Merge commit 'dkg/master'Jameson Graef Rollins
Conflicts: src/share/ma/setup
2009-02-12tweak some of the log output inconsequentiallyJameson Graef Rollins
2009-02-12tests/common: enable a single subshell in the test environment before ↵Daniel Kahn Gillmor
cleanup on failure; makes it easier to have $PATH, etc set up
2009-02-12add list-certifiers to the basic testJameson Graef Rollins
2009-02-12tests/basic: respect $TMPDIR variable for temporary directories set up ↵Daniel Kahn Gillmor
during testing.
2009-02-12some clean up to tests/basicJameson Graef Rollins
2009-02-05tests/basic created the wrong monkeysphere-authentication.confDaniel Kahn Gillmor
2009-02-05fixing out-of-date commentsDaniel Kahn Gillmor