]> 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, 18 Jun 2018 09:59:33 +0000 (10:59 +0100)
commit2e23543b48921182307065c1fa9e8b9d7fbb3cdc
treef4ae1504b4acfe05c24782e496d67b0bdf5e60be
parent749253756a376428a4e1d89ba7c441c947a8fde7
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.

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