Package: autopkgtest
Severity: normal
X-Debbugs-Cc: par...@debian.org

Adding a pocket via --apt-pocket=<POCKET> causes the
_get_default_release() function to be called. This is needed to
construct the sources.list entry for the pocket, which will be in the
form of:

  deb <mirror> <default_release>-<POCKET> ...

The _get_default_release() function caches the detected default
release in the default_release variable, which is the same variable
used to store the --apt-default-release=<RELEASE> value. This has
no effect when only one test is present in d/t/control, but when
more than one test is present the tests after the first will have
unwanted/wrong pinning (as if --apt-default-release was specified).

Reply via email to