summaryrefslogtreecommitdiff
path: root/tests/tests
Commit message (Collapse)AuthorAge
* test suite: tagupl: raw-mangled: Break outIan Jackson2019-07-07
| | | | | | | | No functional change. This test case is broken because it doesn't call t-tagupl-run-drs Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: tagupl: A few more error case testsIan Jackson2019-07-07
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: tagupl: A few more error case testsIan Jackson2019-07-07
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: tagupl: Test an email: version mismatchIan Jackson2019-07-07
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: tagupl: Use a different strategy to avoid fsck failIan Jackson2019-07-07
| | | | | | This leaves us with a $p directory which is often convenient Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: tagupl: Test a really broken tagIan Jackson2019-07-07
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: tagupl: Break out and soup up log movingIan Jackson2019-07-07
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: tagupl: Test some wrong tag namesIan Jackson2019-07-07
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: tagupl: Break out next-mangleIan Jackson2019-07-07
| | | | | | No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: tagupl: test one bad tagIan Jackson2019-07-07
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: tagupl-native: New testIan Jackson2019-07-07
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: Break out t-tagupl-*Ian Jackson2019-07-07
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: tagupl: Drop a now-irrelevant chunk of commented codeIan Jackson2019-07-07
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: tagupl: Use git-debpushIan Jackson2019-07-07
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* git-debpush: new binary packageSean Whitton2019-07-07
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* test suite: tagupl: New test case for new dgit-repos-server modeIan Jackson2019-07-06
| | | | | | Currently we hand-synthesise a suitable tag. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: debpolicy-taintrm: Drop some xxx'sIan Jackson2019-07-01
| | | | | | | | Testing without t-policy-periodic is probably more rigorous (and we have other tests that do run it). We don't want to duplicate this test, as its value is probably not that great compared to its runtime. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: debpolicy-taintrm: New testIan Jackson2019-07-01
| | | | | Closes: #929249 Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: baredebian-plusgit: New test for baredebian+gitIan Jackson2019-06-30
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: baredebian: Break out baredebian-test-minimumIan Jackson2019-06-30
| | | | | | | | Update all callers. No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: baredebian-*: Drop explicit list of implied depsIan Jackson2019-06-30
| | | | | | | | These are now handled by the scanning of t-import-*. Change to the output is simply to move quilt earlier in the list. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: baredebian-multitar: Check tarball import structureIan Jackson2019-06-30
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: baredebian-multitar: New testIan Jackson2019-06-30
| | | | | | | | We should exercise all that tarball import machinery. The test doesn't yet really examine the results. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: baredebian: Break out baredebian-tarball-modeIan Jackson2019-06-30
| | | | | | No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: baredebian-tarball: New testIan Jackson2019-06-30
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: baredebian: move setting of $quiltmode to libIan Jackson2019-06-30
| | | | | | No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: lib-baredebian: Introduce $quiltmodeIan Jackson2019-06-30
| | | | | | No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: baredebian: break out lib-baredebian, baredebian-testIan Jackson2019-06-30
| | | | | | No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: baredebian: Add missing dependency quilIan Jackson2019-06-30
| | | | | | This was simply missing and causes the formal adt run to fail. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: baredebian-push: Add missing dependency DEBORIGIan Jackson2019-06-30
| | | | | | | Our enumeration system does not capture dependencies from t-setup-import. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: baredebian-push: Test rejection of -wgfIan Jackson2019-06-29
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: baredebian-push: Check that history is roughly rightIan Jackson2019-06-29
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: baredebian-push: Actually test --quilt=baredebianIan Jackson2019-06-29
| | | | | | This is all quite awful really. I think that is inherent. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: baredebian setup, and a skeleton to run itIan Jackson2019-06-29
| | | | | | The baredebian-push test will be fleshed out in a moment. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: new test forcesplit-linearIan Jackson2019-06-28
| | | | | | Test split view with non-splitting quilt mode. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: forcesplit-overwrite: Test with bare --overwriteIan Jackson2019-06-28
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: forcesplit-overwrite: Test without --overwriteIan Jackson2019-06-28
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: forcesplit-overwrite: Break out "try"Ian Jackson2019-06-28
| | | | | | No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: forcesplit-overwrite: Check -pushed-goodIan Jackson2019-06-28
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite; New test forcesplit-overwriteIan Jackson2019-06-28
| | | | | | | | Still needs: * checking that we didn't move HEAD * checking HEAD tree is equal Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* infra: Drop support for old tag name on server sideIan Jackson2019-06-28
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: Drop all testing of old tag formats, and compatibilityIan Jackson2019-06-28
| | | | | | | | | | | This is quite old now. We are dropping support for it. The new tags came in in dgit 2.0 in October 2016. No version of dgit without them was in any Debian release. We don't expect there are any sites using old servers which do not support the new format, or anyone using a dgit client older than 2.x who cannot upgrade. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: t-{unapplied,dpm}-pushed-good: set $suiteIan Jackson2019-06-28
| | | | | | | | t-pushed-good-core wants suite to be set. Rather than having it implicit, make it an argument. Fix the two call sites where suite was not trivially `sid'. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: rpush-quilt: New test to check rpush with splittingIan Jackson2019-06-28
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: import-dsc: New test for abs/rel dsc component linksIan Jackson2019-03-01
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: import-dsc: Handle relative symlinks correctlyIan Jackson2019-03-01
| | | | | | | | | The logic here was correct only with bpd = `..'. Closes: #913259 Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> squash!! dgit: import-dsc: Handle relative symlinks correctly
* test suite: Test that we can copy an orig from bpdIan Jackson2019-01-06
| | | | | | | Manually move just the .orig from the bpd to `..'. Then check that when we are done they are (links to) the same file. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: Pass --no-source-only-changes to pbuilder and cowbuilderIan Jackson2019-01-05
| | | | | | | | | | | This will break with older versions of pbuilder and cowbuilder, unfortunately. That breakage can be worked around by passing dgit one or both of the new options: --pbuilder!:--no-source-only-changes --cowbuilder!:--no-source-only-changes Closes: #904862. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: manpages-format: pass --warningsIan Jackson2018-11-08
| | | | | Suggested-by: Colin Watson <cjwatson@chiark.greenend.org.uk> Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: push-source-with-changes: Make it test -wddaIan Jackson2018-10-13
| | | | | | | | | | We have plenty of other places where we used -wddn or ,no-check. Here we have an opportunity to test -wdda: create a ~ file (which would be ignored), clean everything else, and check that -wdda fails but the default (-wdd) succeds. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>