Re: RFC: A regression test framework for Debian packages?
On Mon, Sep 02, 2002 at 10:42:32PM +1000, Jamie Wilkinson wrote:
> >Nice! How does it work exactly? How do you write tests? Do you have scenarii
> >or something?
> The expect script starts up a user-mode-linux on a pre-built chroot, and
> then attempts to install the package in it. If that succeeds, it tries to
> purge it. Testing an upgrade/downgrade requires a trivial bit of hacking in
> the script. Debconf questions/answers are read from a file, the questions
> are watched for in the console output.
> It's horridly inefficient, though---I chose uml over chroot because I wanted
> ordinary users to be able to run it.