summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/diffoscope
diff options
context:
space:
mode:
authorShruthi Ravichandran <shruthi.ravichandran@ni.com>2022-07-21 00:19:49 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-25 22:59:00 +0100
commit17e2eaed036e1da8e7cb42cb3de51b9523ba54ec (patch)
treeafa20d092a7b081ac02d00b7c998c2d348123c01 /meta/lib/oeqa/selftest/cases/diffoscope
parentd69229e7247fc68b881181fb6a3995bff990d4c8 (diff)
downloadpoky-17e2eaed036e1da8e7cb42cb3de51b9523ba54ec.tar.gz
package_manager/ipk: do not pipe stderr to stdout
Some opkg commands print an error during cleanup when the tmp_dir does not exist and an attempt is made to delete it. The error messages are harmless and the opkg commands eventually succeed. When these commands are run and stderr is piped to stdout, the error messages may clobber the stdout and cause unexpected results while parsing the output of the command. Therefore, when parsing the output of a command, do not pipe stderr to stdout. Instead, capture stderr and stdout separately, and upon success, send stderr to bb.note(). (From OE-Core rev: f2167ae80258253eb47a5b148546b265320284cc) Signed-off-by: Shruthi Ravichandran <shruthi.ravichandran@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/diffoscope')
0 files changed, 0 insertions, 0 deletions