Bug#775073: adt-run: result of execute() is a tuple, not a scalar

Christian Kastner debian at kvr.at
Sun Jan 11 01:09:52 UTC 2015

Source: autopkgtest
Version: 3.9
Severity: minor
Tags: patch


when vmdebootstrapping with "--package build-essential" I saw this:

    adt-run: DBG: testbed command ['which', 'dpkg-source'], kind short, sout pipe, serr pipe, env ['LANG=C.UTF-8']
    adt-run: DBG: testbed command exited with code 0
    adt-run: DBG: dpkg-source not available in testbed, installing dpkg-dev

Note how the last two lines contradict each other.

This is because the check for a 0 exit status is performed against the
entire tuple returned by execute() instead of its the first element,
where the exit status is actually to be found.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: adt-run-result-of-execute-is-a-tuple-not-a-scalar.patch
Type: text/x-patch
Size: 1098 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20150111/ac3e74ae/attachment.bin>

More information about the autopkgtest-devel mailing list