Bug#667022: autopkgtest: broken '@' expansion in test control files for multi-binary packages

Colin Watson cjwatson at ubuntu.com
Tue Apr 3 13:01:02 UTC 2012


Package: autopkgtest
Version: 2.0.1
Severity: important
Tags: patch

If you use '@' in the Depends field of debian/tests/control in a
multi-binary package, then autopkgtest incorrectly expands this to just
one of your binaries duplicated as many times as you have binaries.
This is because it uses "d = d.replace('@',pkg)" and thus loses track of
the original contents of d each time round the loop.  Patch attached.

Thanks,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-parsing-of-dependencies.patch
Type: text/x-diff
Size: 798 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20120403/cd28776d/attachment.patch>


More information about the autopkgtest-devel mailing list