Bug#747041: debci: Only one ADT test appearing in log
Martin Pitt
mpitt at debian.org
Tue May 6 09:24:41 UTC 2014
Hey Antonio,
many thanks for the test script! I can reproduce this here. Breaking
it down further, this works:
./run-from-checkout libpng --- schroot sid 2>&1|tee /tmp/l
while this fails:
./run-from-checkout libpng --- schroot sid >/tmp/l 2>&1
So far I think I only ever tested this with the first style of command
(same with | less and similar), or with adt-run's -l/--log option, or
using --output-dir's "log" file. These all work BTW.
At the moment I'm not quite clear what the crucial difference is
between piping stdout and redirecting it into a file, as both should
be a fairly similar streaming. It looks like in the second case there
would be some seek()/rewind() call somewhere which would affect
the >/tmp/l direct file redirection, but not the pipe.
I'll dig into this, thanks!
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20140506/7d81f8df/attachment-0001.sig>
More information about the autopkgtest-devel
mailing list