| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Otherwise this test might go wrong if there were a different locale.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
Without this the test can fail.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
Repro for #1054630.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
| |
This lets us test various corner cases for imports. Right now it just
checks that the synthetic commits importing -1 orig tarballs have the
right date and author.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
| |
Allow (but ignore) the --force option we're going to use.
Apply it to two tests which play a bit fast and loose,
(ie, which omit calls to dch to update the changelog version.)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
| |
Now there are no suppressions. But keep the machinery in case we need
it later. See also
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1041317#22
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
Again, skip the test if we can't repro this.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
| |
git 2.40 rejects these. This means we don't any logner test that our
push receiver also rejects them. That's OK, since we don't expect
this to regress in our push receiver code before the server gets
upgraded.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
| |
git 2.40 prints a different message for trying to git-hash-object a
tag without a valid `tag` line.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
git 2.40 rejects the bad commits. This means we can no longer
conveniently test this script. And it also means it is not likely
that such a bug would be reintroduced.
So:
* Delete the script.
* Delete its test case and remove it from debian/tests/control.
* No longer install it.
* Remove the lintian suppression for its lack of manpage.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
| |
Test that the previously-rewound-from tainted object is found early,
and can be overridden permanently.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
This will ensure that the direct command fallback is tested, I think.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace several t-expect-push-fail with t-expect-push-fail-tainted.
Abolish the adhoc use of --force-push-tainted.
Adjust the expected errors accordingly.
Fix the expected errors to use anchored patterns (see the comment for
t-expect-push-fail-tainted).
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
| |
This is not anything to do with push. (Not sure why this isn't a call
to t-git-objects-not-present.)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
| |
Make it take one string, and expect the same message both locally and
when printed by the remote.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
The messages now come out the same.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
And rename it.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
| |
Check that saying --deliberately-not-fast-forward when it's not
actually reound, doesn't help.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
And test that they still fail if forced.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
|
|
| |
The early detection is going to change quite a few some error
messages, since they'll be generated from different information in a
different way.
For now, pass the force option that forces the previous behaviour,
where the server rejects it. That retains the error message.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
Testing only the new spelling is fine I think.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
Apparently we don't have one of these!
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
| |
This doesn't appear in the default rune, but we want it for our
testing. Hopefully adding it won't cause bad divergence between test
case and reality.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
| |
Closes: #1026918
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
| |
We're going to want to call this several times.
Use the config override here. This is going to become the test case
for all that.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
This doesn't seem relevant any more, if it ever was.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Check that we get the expected warnings, and that dpkg-source hates a
named pipe.
(In practice if I nobble the code in dgit which checks all this, we
get a different quilt fixup error, but not after dgit caused tar to
read files it shouldn't and make unreferenced git objects out of them,
which is still bad.)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We must also adjust the gdr-fresh test case: now its patches are made
by dgit, not gdr. We now check that they are correct (that is, that
dgit is now happy with things) but not what they look like).
Several other test cases test the dgit gdr makepatches functionality,
calling t-gdr-made-patches (via t-gdr-good, for example). (I have
verified that changing the remaining "return 1" from branch_is_gdr to
"return 0" does cause many test failures.)
Closes: #1015779
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
Have tested that this fails before the previous fix.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
| |
Otherwise the check we're about to add spots the problem before the
error we are checking for occurs.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the global test git config to reject plain "git push".
Update almost all tests to use "push-built".
In some cases, change to using "push-source".
In one case (chosen essentially arbitrarily), use the config override
and continue using push to mean push-built.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
| |
This represents a poor outcome which happily no longer occurs unless
the user is using the deprecated-by-us "single-debian-patch" features.
For more discussion see comments in quilt_fixup_dpkgsource_singlepatch.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
This represents a poor outcome which happily no longer occurs.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
| |
This is to replace single-debian-patch.
Closes: #1018984
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
| |
Now, with single-debian-patch, we can still handle file removals.
(This may fix other corner cases too.)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|