]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/cases/rpm.py: change to use base-passwd-doc
authorChen Qi <Qi.Chen@windriver.com>
Thu, 14 Jun 2018 04:52:32 +0000 (12:52 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Feb 2019 22:13:05 +0000 (22:13 +0000)
commit1ce378ce07d2c49f40054893a623456c8471e177
tree86ea8d8d3e7ca428c2f8ed0f94041cc0c0c46794
parent61bca5a7f6b3fc03cd88cbf8867708d28e0a3522
oeqa/runtime/cases/rpm.py: change to use base-passwd-doc

The test cases assume that rpm-doc is built out, as it says it its
comment. This is not always true. And it sometimes results in
following error.

  |     cls.tc.target.copyTo(test_file, dst)
  | UnboundLocalError: local variable 'test_file' referenced before assignment

Change to use base-passwd-doc, as this package is more likely to be
built out than rpm-doc.

(From OE-Core rev: 2e23543b48921182307065c1fa9e8b9d7fbb3cdc)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/lib/oeqa/runtime/cases/rpm.py