]> code.ossystems Code Review - openembedded-core.git/commit
oeqa: fix return status in pam.py to match shadow-4.2.1
authorChen Qi <Qi.Chen@windriver.com>
Thu, 17 Jul 2014 07:53:35 +0000 (15:53 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 17 Jul 2014 11:36:10 +0000 (12:36 +0100)
commit6bc53438735690866358194dd9e88fa1d7435e2c
treeec2f906edcdc8cc02710580cf3771d8dc401ee2e
parentb73e5cd51551556f9e6a4f7d9e7deec4d9d661bd
oeqa: fix return status in pam.py to match shadow-4.2.1

The return statuses of commands like `su --help' or `passwd --help'
in shadow 4.2.1 version are different from those in shadow 4.1.4.3
version.

Now that we've upgraded shadow to 4.2.1, we need to fix these statuses
in the pam.py to make things work as expected.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/pam.py