mirror of
https://salsa.debian.org/debian/dash.git
synced 2026-01-26 07:37:51 +00:00
tests(mmdebstrap): remove unused distribution parsing
The test case mmdebstrap still contains a code block that parses the target distribution from the changelog file, but the result is unused. This most likely was forgotten to remove with the change recorded in commit c2c859ba66ce6079558f498efa8a2dbe1fc58b25. Signed-off-by: Dominik Viererbe <dominik.viererbe@canonical.com>
This commit is contained in:
parent
661f755c57
commit
44b91c8e7b
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
dash (0.5.12-10) UNRELEASED; urgency=medium
|
||||
|
||||
* d/t/mmdebstrap: remove unused parsing of distribution from changelog
|
||||
|
||||
-- Dominik Viererbe <dominik.viererbe@canonical.com> Thu, 20 Jun 2024 15:10:44 +0300
|
||||
|
||||
dash (0.5.12-9) unstable; urgency=medium
|
||||
|
||||
[ Helmut Grohne ]
|
||||
|
||||
7
debian/tests/mmdebstrap
vendored
7
debian/tests/mmdebstrap
vendored
@ -19,13 +19,6 @@ set -eux
|
||||
VERSION="$(dpkg-parsechangelog -SVersion)"
|
||||
apt-cache show "dash=$VERSION" >/dev/null || exit 1
|
||||
|
||||
DIST="$(dpkg-parsechangelog -SDistribution)"
|
||||
if [ "$DIST" = "UNRELEASED" ]; then
|
||||
# take Distribution from the previous entry instead
|
||||
DIST="$(dpkg-parsechangelog -o1 -c1 -SDistribution)" || DIST="unstable"
|
||||
echo "WARN: Using Distribution: $DIST instead of UNRELEASED" >&2
|
||||
fi
|
||||
|
||||
# We cannot use debootstrap because debootstrap cannot install from multiple
|
||||
# mirrors. Since dash is Essential:yes it does not test the right thing if we
|
||||
# first install with dash from unstable and then upgrade to dash from salsaci.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user