]> code.ossystems Code Review - openembedded-core.git/commit
libpam: Backport ptest fix checking whether files exist
authorMingli Yu <mingli.yu@windriver.com>
Wed, 8 Dec 2021 08:59:44 +0000 (16:59 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 Dec 2021 11:27:20 +0000 (11:27 +0000)
commit4903fdbace057df2e39c10aaef3440f89748eed2
tree22f23a97e90b603174fc8ebb8ba8d322f4d8db8e
parent5cd5075412639c0be9506cf1101737b12894fc5f
libpam: Backport ptest fix checking whether files exist

Backport a patch to check whether files exist.

Before the patch:
 # ./run-xtests.sh . tst-pam_access1
 mv: cannot stat '/etc/security/opasswd': No such file or directory
 PASS: tst-pam_access1
 mv: cannot stat '/etc/security/opasswd-pam-xtests': No such file or directory
 ==================
 1 tests passed
 0 tests not run
 ==================

After the patch:
 # ./run-xtests.sh . tst-pam_access1
 PASS: tst-pam_access1
 ==================
 1 tests passed
 0 tests not run
 ==================

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/pam/libpam/0001-run-xtests.sh-check-whether-files-exist.patch [new file with mode: 0644]
meta/recipes-extended/pam/libpam_1.5.2.bb