On Thu, Dec 10, 2015 at 11:41:06PM +0100, Michael Biebl wrote:
> Since version 0.8, the test-suite basically fails on all architectures
> as can be seen at
> https://buildd.debian.org/status/package.php?p=ifupdown=unstable
>
> I can reproduce the problem on amd64 with a pbuilder build.
> >From a cursory glance it looks like the test suite needs files from the
> installed package (i.e. it looks for /lib/ifupdown/settle-dad.sh).
>
> Shouldn't it use ./settle-dad.sh instead when running the test-suite?
It actually doesn't call settle-dad.sh at all. The problem is that the
testsuite is running ifup with the --no-act option, and compares the
output of it to the expected output as written in
debian/testbuild-linux. Ifup only calls /lib/ifupdown/settle-dad.sh if
it exists and is executable, but that of course depends on the build
environment. The expected output was written with the assumption that
/lib/ifupdown/settle-dad.sh is already there. So I'll have to fix that.
--
Met vriendelijke groet / with kind regards,
Guus Sliepen
signature.asc
Description: Digital signature