summaryrefslogtreecommitdiff
path: root/testing
Commit message (Collapse)AuthorAgeFilesLines
* Spare keysDaniel Silverstone2019-01-192-0/+28
|
* Ensure that config show will fail if none of the keys supplied are foundDaniel Silverstone2019-01-191-0/+13
|
* Fix issue where 'as' wasn't resetting keytag in _prep()Daniel Silverstone2019-01-191-0/+22
|
* admincommand: Fix 'as' to better hide bad usernamesDaniel Silverstone2019-01-191-1/+1
| | | | | | | | | | | Sometimes commands in their `_prep()` might need to assume the user they're running as does actually exist. Since there's only one user name guaranteed to exist (gitano-bypass) ensure that when `as` runs against a user which doesn't exist, we run the original command's `_prep()` against that user so that we don't leak the non-existence of a username via a crash/traceback. This fixes Debian bug #876078
* TESTING: Use prefix instead of isDaniel Silverstone2018-06-061-1/+1
| | | | | | In order to increase coverage of the 'prefix' match type in list context, this change alters one of the many treedelta related admin patches.
* Changed to confirm that user names can contain .lua-httpPhillip Smyth2017-10-241-7/+7
|
* Changed to confirm that group names can contain .Phillip Smyth2017-10-231-2/+2
|
* Added keys generated by testPhillip Smyth2017-10-172-0/+28
|
* Added test for renaming selfPhillip Smyth2017-10-171-0/+19
|
* Added documentation to "create new keys" testPhillip Smyth2017-10-171-0/+2
|
* Adding test ed25519 keysPhillip Smyth2017-10-172-0/+8
|
* Added ed25519 test implementationPhillip Smyth2017-10-171-0/+3
|
* Added Lines for testing edkeyPhillip Smyth2017-10-131-0/+5
|
* Test from an installationDaniel Silverstone2017-08-032-1/+2
| | | | | | | This corrects an oversight in our testing framework where we were using a local build of Gitano rather than an "installation" for test purposes. This should result in fewer cases of missed modules, plugins, skeleton entries, etc.
* Yarn for config authRichard Maw2017-08-032-3/+59
|
* Add missing FINALLYDaniel Silverstone2017-08-021-0/+2
|
* Include test keys for 'as' checkDaniel Silverstone2017-08-022-0/+28
|
* Add yarn to ensure auditability of 'as' useRichard Maw2017-08-012-0/+19
|
* Add Yarn for testing dangling HEADrichardmaw/test-warn-dangling-headRichard Maw2017-08-011-0/+24
|
* Add HOME during git archive callDaniel Silverstone2017-08-011-0/+1
| | | | | HOME is needed to find the modified git config. It not being set before now was an oversight.
* Also display stdin when failure ensuesDaniel Silverstone2017-08-011-0/+2
|
* Use $GTT rungit to handle git pullDaniel Silverstone2017-08-011-2/+1
| | | | | | | | Because additional git config is now required to use ext:: urls running git directly is not sufficient as the HOME variable needs to be set to locate the modified config. It's simplest to modify the yarns to use $GTT rungit to do this.
* Allow ext protocol for test purposesDaniel Silverstone2017-08-011-0/+1
| | | | | | | | Newer versions of git block the ext:: protocol by default, so that a repository with submodules may not run arbitrary code. Whitelisting the ext:: protocol for the test users is the minimum effort required to make it work again.
* Test suite properly runs gitano-command.cgiDaniel Silverstone2017-07-313-55/+82
| | | | | | | In order to make this work, I had to rework password handling in the test suite, and also redo the http unwrapper to use wget instead of executing the cgi directly. All yarn IMPLEMENTs which use $GTT runcommand and don't pass the stdin, *MUST* explicitly use </dev/null to prevent hangs in http mode.
* Should not run hook tests over httpDaniel Silverstone2017-07-311-0/+1
|
* Pass LUA_INIT through for test purposesDaniel Silverstone2017-07-311-2/+5
| | | | | In order to support the sysbranch work I'm doing for the CI, we need LUA_INIT to get passed through in the environment.
* Merge branch 'dsilvers/hooks'Daniel Silverstone2017-07-083-1/+112
|\
| * Add hook testsdsilvers/hooksDaniel Silverstone2017-07-021-0/+73
| | | | | | | | Basic hook tests which verify preauth commandline and post receive hooks.
| * Add support for ENV vars in gitano-test-toolDaniel Silverstone2017-06-172-1/+39
| | | | | | | | | | This adds support for gitano-test-tool to set environment variables. We also add some yarn implementations for doing this.
* | Augment scenario to check reowning of reposDaniel Silverstone2017-07-081-0/+12
|/
* Add missing finally to "created repositories have server info" yarnRichard Maw2017-05-131-0/+2
|
* Merge remote-tracking branch 'origin/dsilvers/update-on-create'Richard Maw2017-04-081-0/+13
|\
| * adds a test for server-info files in new reposDaniel Silverstone2017-04-081-0/+13
| | | | | | | | Even new repositories need http server info files.
* | adds a force-push checking scenariodsilvers/force-push-testingDaniel Silverstone2017-03-061-0/+34
| |
* | adds support to amend the top commit in a repoDaniel Silverstone2017-03-061-0/+2
| |
* | adds support for force-push in IMPLEMENTSDaniel Silverstone2017-03-061-2/+2
|/
* quotes all the thingsDaniel Silverstone2017-03-041-87/+87
|
* adds a test covering the rest of treediff/*Daniel Silverstone2017-03-046-0/+142
|
* adds testing for treediff/targetsDaniel Silverstone2017-03-044-0/+107
|
* adds the ability to revert content patchesDaniel Silverstone2017-03-041-4/+9
|
* adds test for checking start_treeDaniel Silverstone2017-03-042-0/+72
|
* permits empty commit pushing to failDaniel Silverstone2017-02-131-3/+5
|
* supports reversing admin patchesDaniel Silverstone2017-02-131-4/+9
|
* adds an initial treedelta testDaniel Silverstone2017-02-123-0/+54
|
* adds the testing ability to apply a content patchDaniel Silverstone2017-02-121-0/+7
|
* logs stdout/stderr when patching gitano-adminDaniel Silverstone2017-02-121-5/+14
|
* adds support for expecting failure on a pushDaniel Silverstone2017-02-121-2/+5
|
* Add a version number system to GitanoDaniel Silverstone2017-01-151-0/+4
|
* Copyright cleanupsDaniel Silverstone2017-01-152-1/+53
|
* testing: Add a way to extract variables from the test suiteRichard Maw2017-01-081-0/+3
|