Hi,
[ ... ]
But due to the criticality of the package, I need to test package installation in both cases, with and without ucf. [ ... ]
How would I do that in autopkgtest? Can I uninstall and reinstall the
package in question while an autopkgtest is running?
I would like to hear about your experiences. Pointers to packages that
are already doing this would be greatly appreciated as well. Thank you
very much.
Greetings
Marc
How would I do that in autopkgtest? Can I uninstall and reinstall the
package in question while an autopkgtest is running?
On Thu, 14 Jul 2022 09:52:51 +0200
Marc Haber <mh+debian-mentors@zugschlus.de> wrote:
I would like to hear about your experiences. Pointers to packages that
are already doing this would be greatly appreciated as well. Thank you
very much.
You can look at dh-runit, probably not the best example but it gives
you the idea
https://salsa.debian.org/debian/dh-runit/-/blob/master/debian/tests/helper-update-rc.d
On Thu, Jul 14, 2022 at 11:33:50PM +0200, Lorenzo wrote:
On Thu, 14 Jul 2022 09:52:51 +0200
Marc Haber <mh+debian-mentors@zugschlus.de> wrote:
I would like to hear about your experiences. Pointers to packages
that
are already doing this would be greatly appreciated as well.
Thank you
very much.
You can look at dh-runit, probably not the best example but it
gives
you the idea
https://salsa.debian.org/debian/dh-runit/-/blob/master/debian/tests/helper-update-rc.d
So a testbed has apt configured in a way that apt-get install
$PACKAGE
will install _this_ version of the package? Or will it just pull the
version from the archive?
On Fri, 2022-07-15 at 09:41 +0200, Marc Haber wrote:
On Thu, Jul 14, 2022 at 11:33:50PM +0200, Lorenzo wrote:
On Thu, 14 Jul 2022 09:52:51 +0200
Marc Haber <mh+debian-mentors@zugschlus.de> wrote:
I would like to hear about your experiences. Pointers to
packages
that
are already doing this would be greatly appreciated as well.
Thank you
very much.
You can look at dh-runit, probably not the best example but it
gives
you the idea
https://salsa.debian.org/debian/dh-runit/-/blob/master/debian/tests/helper-update-rc.d
So a testbed has apt configured in a way that apt-get install
$PACKAGE
will install _this_ version of the package? Or will it just pull
the
version from the archive?
The challenge I have encountered is getting the installed binary; it
seems that it puts files under /tmp/autopkgtest.XXXXX, but cleans it
up
before the actual tests run? (I have added a test which searches for
the package during the test run, to no avail.)
We could always use dpkg-repack I suppose, but we would have to do so
before any configuration was modified..
autopkgtest adds it's own sources.list entry under /tmp, so afaict
'apt-get --reinstall' will do exactly what it should.
On Fri, Jul 15, 2022 at 09:23:20AM -0400, Matt Barry wrote:
autopkgtest adds it's own sources.list entry under /tmp, so afaict
'apt-get --reinstall' will do exactly what it should.
Thanks for finding that out. Is there also a documented way to
install
te packages from stable, testing, unstable to automatically test
updates?
Is there also a documented way to install the packages from stable,
testing, unstable to automatically test updates?
On Thu, 2022-07-21 at 10:30 +0200, Marc Haber wrote:
Is there also a documented way to install the packages from stable, testing, unstable to automatically test updates?
That sounds like what piuparts is for:
https://packages.debian.org/unstable/piuparts
https://piuparts.debian.org/
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 164:03:32 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,517 |