]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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, 18 Jun 2018 10:07:57 +0000 (11:07 +0100)
commitc7fbb0251bf560c3e9ac847696e8a735dc8ee787
treee80afc069b264e4b395bd51a9f4656c73722515c
parentfa62280e45a94f5875a79a7d505d40bda79bca9a
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>
meta/lib/oeqa/runtime/cases/rpm.py