Re: autopkgtest testing postinst
Hi,
On Thu, 14 Jul 2022 09:52:51 +0200
Marc Haber <mh+debian-mentors@zugschlus.de> wrote:
> 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?
Sure
>
> 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
>
> Greetings
> Marc
>
Lorenzo
Reply to: