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:19 +0000 (12:36 +0100)
commita6ed2d3189843992dbef850f8ff51d364df0065a
tree12d58db7e706fc55740eaac847953b2ad53bfa12
parent6c3eda757245b68bc51f24e0cd24065afa39c4ab
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.

(From OE-Core rev: 6bc53438735690866358194dd9e88fa1d7435e2c)

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