summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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
2009-02-05fixing dumb typo in tests/basicDaniel Kahn Gillmor
2009-02-05restoring absolute paths to both TEMPDIR and TESTDIR in tests/basic.Daniel Kahn Gillmor
2009-02-04set proper permissions on administrator gnupghome.Daniel Kahn Gillmor
2009-02-04tests/basic ensure that the directory is actually an absolute path, not a ↵Daniel Kahn Gillmor
relative one.
2009-02-04tests: making the temporary directory be created in a new place. make sure ↵Daniel Kahn Gillmor
the proxy command used in the test is the new subcommand.
2009-02-04tests/keytrans: terminate reasonably on success.Daniel Kahn Gillmor
2009-02-04fix some things in the keytrans testJameson Graef Rollins
2009-02-04move keytrans test to a separate test script, and move functions common to ↵Jameson Graef Rollins
all test to a common file
2009-02-04add test of key conversion (openpgp2ssh and pem2openpgp) in test script.Jameson Graef Rollins
2009-02-03fix up gen/import-key:Jameson Graef Rollins
- remove stuff about expiration, so we assume keys imported/generated with no expiration - set expiration with 'set-expire' function - update tests to test key importing and generation - fix some bugs
2009-02-02add ability to specify key length of core secret key, so the test scripts ↵Jameson Graef Rollins
can specify something smaller than the default.
2009-02-01Fix a bug in setup where gpg was called instead of gpg_core. ThisJameson Graef Rollins
could have caused serious data loss for the running user. Should note to be carefull with this in the future. Also fix ownership on sphere gnupghome.
2009-02-01some tweaks to the man pagesJameson Graef Rollins
2009-02-01fix a bunch of directory references to the new data/share dirsJameson Graef Rollins
2009-02-01some small tweaks, and one tiny syntax bug fix, to ma/setup, and someJameson Graef Rollins
small formating and comment changes to test/basic
2009-02-01removed some unnecessary setup from the basic test, pulling the random ↵Daniel Kahn Gillmor
string from /dev/urandom; generating the authentication trust core key at 2048 bits
2009-02-01add setup subcommand call to ms-authentication, and more fixes to testsJameson Graef Rollins
2009-01-31fix some things bugs from the separation transition, and try to fix the test ↵Jameson Graef Rollins
scripts