summaryrefslogtreecommitdiff
path: root/tests/tests
Commit message (Collapse)AuthorAge
* Test suite: drs-push-rejects: Break out re-prep (nfc)Ian Jackson2016-09-25
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Split brain: Test suite: quilt-gbp: Test 2nd push (ie, test pseudomerge)Ian Jackson2016-09-25
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Split brain: dgit-repos-server: Permit pushing maintainer tag tooIan Jackson2016-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>
* Test suite: debpolicy-quilt-gbp: New testIan Jackson2016-09-25
| | | | | | Check that drs and Debian policy permit split brain. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Test suite: quilt-gb-build-modes: Test --clean=dpkg-source tooIan Jackson2016-09-15
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Test suite: quilt-gb-build-modes: Fixes, passes nowIan Jackson2016-09-15
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Test suite: quilt-gbp-build-modes: New test, which does not pass yetIan Jackson2016-09-15
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Test suite: quilt-gbp: Provide and use t-gbp-pushed-goodIan Jackson2016-09-11
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: Test suite: quilt-gbp test: MoreIan Jackson2016-09-11
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Test suite: tag-updates: Do not assert a that dgit-fetch/ ref existsIan Jackson2016-09-11
| | | | | | | We don't actually want dgit to leave these lying around unless it has to. So don't insist on that. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Test suite: inarchivecopy: Is finishedIan Jackson2016-09-06
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Test suite: inarchivecopy: use t-sametree-parentIan Jackson2016-09-06
| | | | | | Otherwise different history between fetch and clone breaks the test. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Test suite: inarchivecopy: More workIan Jackson2016-09-06
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Test suite: inarchivecopy: More workIan Jackson2016-09-06
| | | | | | Select specifically 1.3 for first test, and do a clone Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Test suite: inarchivecopy: New test (does not pass yet)Ian Jackson2016-09-06
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Test suite: Remove refs/remotes/dgit/dgit/sid from pari-extra worktreeIan Jackson2016-09-05
| | | | | | | | This, effectively, simulates a previous fetch of something. Do this in the actual tests instead: in this case, only necessary in fetch-localgitonly. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Split brain: Test case: Do pushIan Jackson2016-09-05
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Split brain: TODOsIan Jackson2016-09-05
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Test suite: Test pushing with forcing old and new tag formatIan Jackson2016-07-31
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Tag change: Test suite: Introduce $tagpfxIan Jackson2016-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>
* Test suite: quilt-gbp: New test (not yet complete)Ian Jackson2016-07-17
| | | | | | | | This test does not yet do all that we want, but it does some things and then exits 0. The current intent for the future is written in prose in the rest of the file.
* Test suite: Move bm-quirk-sbuild-after-act to lib-build-modesIan Jackson2016-07-16
| | | | This will allow other tests to check dgit sbuild.
* Test suite: build-modes: Move sbuild knowledge to libIan Jackson2016-07-16
| | | | | Teach bm-guess-e-source-e-targets about sbuild, so this knowledge can be reused.
* Test suite: build-modes: Move `build-source' knowledge to libIan Jackson2016-07-16
| | | | | Teach bm-guess-e-source-e-targets about dgit build-source, so this knowledge can be reused.
* Test dgit-repos-policy-debian with multiple (identical, as it happens) ↵Ian Jackson2016-07-16
| | | | existing taints.
* Test suite: Provide test for nonexistent --always-split-source-buildIan Jackson2016-07-16
| | | | | | | | | We are going to introduce this option soon. It is not supposed to actually have very much overall effect, although it will replumb the way dgit goes about making the source package. So the tests are just the same as the normal tests only with the additional option.
* Test suite: Test build modes -g and -GIan Jackson2016-07-01
|
* Test suite: Test quilt single-debian-patchIan Jackson2016-07-01
|
* Increase sqlite_busy_timeout in debpolicy-dbretryIan Jackson2016-07-01
| | | | | zealot is very slow and we need to give the other processes time to rollback and release the lock.
* Set GIT_COMMITTER_DATE and GIT_AUTHOR_DATEIan Jackson2016-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).
* Put --no-arch-all in build-modes-sbuild act, not only its real_actIan Jackson2016-07-01
| | | | Cosmetic change only.
* Test suite: When sbuild fails, do not crashIan Jackson2016-07-01
| | | | | ... due to sed not finding the log file. Instead, simply tolerate the absence of the log file.
* Test suite: run quilt-fixup with -wgf in distropatches-reject, so that we ↵Ian Jackson2015-08-22
| | | | don't need build-depends.
* Test suite: build-modes tests: Use gbp-build, not git-build, in testsIan Jackson2015-07-27
|
* Test suite: build-modes tests: Do extra clean mode tests with build-sourceIan Jackson2015-07-27
|
* Test suite: Provide tests which check that all our various build operations ↵Ian Jackson2015-07-27
| | | | run the right targets as expected (ie, that we are massaging the arguments to dpkg-buildpackage, and suppressing our clean target, etc., correctly).
* Test suite: rename list-tests to enumerate-tests for ease of completion over ↵Ian Jackson2015-07-27
| | | | tests/lib*
* Test suite: Honour t-dependencies, so rsync only installed for mirror testsIan Jackson2015-07-25
|
* Test suite: Check that test suite list in debian/tests/control is up to dateIan Jackson2015-07-25
|
* Test suite: Introduce tests/list-testsIan Jackson2015-07-25
|
* Work around #793471 (madness with $SIG{__WARN__} and Perl's system builtin): ↵Ian Jackson2015-07-25
| | | | | | | move $SIG{} setting into setup_sigwarn in Dgit.pm, and check getppid. We also need to fix up the expectation for an error message in one of the tests, where the message changes as a side effect.
* Mirroring fix: Add test caseIan Jackson2015-07-21
|
* Test suite: mirror: Synchronise properly with drs background mirrorIan Jackson2015-07-19
|
* Mirroring: Tests: check that we do not mirror private reposIan Jackson2015-07-11
|
* Mirroring: Tests: Break out various functions (nfc overall)Ian Jackson2015-07-11
|
* Mirroring: Tests: search for expected messagesIan Jackson2015-07-11
|
* Mirroring: Tests: Run some testsIan Jackson2015-07-11
|
* Test suite: Replace open-coded $tmp/git/$p.gitIan Jackson2015-07-11
|
* Test suite: Replace assignments to p with t-select-packageIan Jackson2015-07-11
|
* Test suite: Fix drs-push-masterupdate to refer to correct branch (brokenness ↵Ian Jackson2015-07-04
| | | | detected only on current sid)