Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | test suite: Break out t-make-badcommit | Ian Jackson | 2017-01-06 |
| | | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||
* | test suite: Introduce t-expect-fsck-fail | Ian Jackson | 2017-01-05 |
| | | | | | | No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||
* | test suite: Make expect_fsck_fail contain objids | Ian Jackson | 2017-01-05 |
| | | | | | | This will make it possible to be stricter. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||
* | Merge tag dgit/2.14 into `defence in dgit-repos-server' branch | Ian Jackson | 2017-01-05 |
|\ | | | | | | | | | | | | | | | | | | | Fix up semantic conflict: the new git-fsck test (in 2.14) fails on the new broken commits (in the `defence in dgit-repos-server' branch). We need to disable this. Ideally we would make a tighter test, but that's too much to do in a merge. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||
| * | test suite: Introduce t-ok. | Ian Jackson | 2017-01-04 |
| | | | | | | | | | | | | | | | | | | | | | | No functional change. perl -i~ -pe 's/^echo ok\.$/t-ok/' tests/tests/*[^~] perl -i~ -pe 's/^echo ok\.$/t-ok/' tests/setup/*[^~] perl -i~ -pe 's/^echo done\.$/t-ok/' tests/tests/*[^~] perl -i~ -pe 's/^echo done\.$/t-ok/' tests/setup/*[^~] Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||
* | | test suite: Test bad commit defence in drs-push-rejects | Ian Jackson | 2017-01-05 |
|/ | | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||
* | Test suite: drs-push-rejects: Test push of same version with different dgit | Ian Jackson | 2016-09-25 |
| | | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||
* | Test suite: drs-push-rejects: Break out re-prep (nfc) | Ian Jackson | 2016-09-25 |
| | | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||
* | Split brain: dgit-repos-server: Permit pushing maintainer tag too | Ian Jackson | 2016-09-25 |
| | | | | | | | | | Split brain is going to need the maintainer tag on the dgit server. Allow clients to push the _both_ the DEP-14 and new dgit archive/ tag. In this case dgit-repos-server can largely ignore the DEP-14 tag. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||
* | Tag change: Test suite: Introduce $tagpfx | Ian Jackson | 2016-07-31 |
| | | | | | | | | | | | | | | Currently this is `test-dummy' (the distro the tests work with). Have checked that after this commit find tests -type f | xargs perl -i~ -pe 's/\$tagpfx/test-dummy/g' puts everything back. (This does not prove I have changed the right set of occurrences, but it does suggest that each actual change is good.) No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||
* | Set GIT_COMMITTER_DATE and GIT_AUTHOR_DATE | Ian Jackson | 2016-07-01 |
| | | | | | | | | | | | | | | This avoids most date dependencies: unless other measures are taken, the commits and tags are identical iff they are constructed identically. This makes the test suite more deterministic. In drs-push-rejects test, increment them explicitly, so as to make all of mktag's tags distinct objects. Otherwise it can generate identical tags (now, always; previously, only sometimes on fast computers), causing spurious variations in behaviour (eg, things not being rejected because they do not represent any change). | ||
* | Test suite: Replace assignments to p with t-select-package | Ian Jackson | 2015-07-11 |
| | |||
* | For non-Debian distros, debiantag() uses distro name a la DEP-14. | Ian Jackson | 2015-07-04 |
| | |||
* | Use force flag when pushing tags | Ian Jackson | 2015-06-23 |
| | | | | | | | | | Newer versions of git push will not overwrite an existing tag unless the client specifies + on the refspec (or --force). (This is a client-side check.) So add this flag where appropriate, both in dgit itself, and in the test suite. | ||
* | Test suite: Make t-expect-push-fail out of the remains of mustfail | Ian Jackson | 2015-06-10 |
| | |||
* | Test suite: Move most of mustfail into t-expect-fail | Ian Jackson | 2015-06-10 |
| | |||
* | Test suite: Make t-reporefs stash the output | Ian Jackson | 2015-06-10 |
| | |||
* | Test suite: drs-push-rejects: use set +o pipefail, not set +e | Ian Jackson | 2015-06-07 |
| | |||
* | Test suite: Move t-reporefs into lib | Ian Jackson | 2015-06-07 |
| | |||
* | Infra: Allow FRESHREPO to override "tag already exists" | Ian Jackson | 2015-05-31 |
| | | | | drs-push-rejects test needs updating too. | ||
* | LANG, LC_*: Consistently set required LC_* env vars | Ian Jackson | 2015-05-31 |
| | |||
* | Fix "tests: drs-push-rejects: test unknown suite" | Ian Jackson | 2014-08-04 |
| | | | | | We have to reset $tmp/suites or the remaining elements of this test script will fail. | ||
* | tests: drs-push-rejects: test unknown suite | Ian Jackson | 2014-03-12 |
| | |||
* | tests: drs-push-rejects: malformed tags of various kinds | Ian Jackson | 2014-03-12 |
| | |||
* | dgit-repos-server: call tag tags "headers" in error messages | Ian Jackson | 2014-03-12 |
| | |||
* | tests: drs-push-rejects: todos; now all relevant error conditions in ↵ | Ian Jackson | 2014-03-06 |
| | | | | dgit-repos-server are at least noted with a "fixme" | ||
* | tests: drs-push-rejects: more error tests | Ian Jackson | 2014-03-06 |
| | |||
* | dgit-repos-server: some better error msgs, more tests | Ian Jackson | 2014-03-06 |
| | |||
* | tests: drs-push-rejects: fix unexpected success msg | Ian Jackson | 2014-03-05 |
| | |||
* | tests: drs-push-rejects: introduce and use "mustsucceed" | Ian Jackson | 2014-03-05 |
| | |||
* | tests: drs-push-rejects: check that failures do not update any refs | Ian Jackson | 2014-03-05 |
| | |||
* | tests: drs-push-rejects: fix "key not in keyring" test | Ian Jackson | 2014-03-05 |
| | |||
* | dgit-repos-server: some better error msgs, more tests | Ian Jackson | 2014-03-05 |
| | |||
* | dgit-repos-server: fix dm parsing, more tests | Ian Jackson | 2014-03-05 |
| | |||
* | tests: drs-push-rejects: failing test for dm | Ian Jackson | 2014-03-05 |
| | |||
* | tests: drs-push-rejects: wip | Ian Jackson | 2014-03-05 |
| | |||
* | tests: drs-push-rejects: some failure cases; generate tags in script | Ian Jackson | 2014-03-05 |
| | |||
* | tests: drs-push-rejects: new test, currently just passes a push | Ian Jackson | 2014-03-05 |