]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
libpam: Fix the xtests/tst-pam_motd[1|3] failures
authorZhixiong Chi <zhixiong.chi@windriver.com>
Wed, 12 Apr 2023 09:58:05 +0000 (02:58 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Apr 2023 15:44:22 +0000 (16:44 +0100)
commit549e54ad6a175359b0a57987ccdab8989df9d3a9
tree19677e41cb75d43b2ceb9e3bc6f2f71205f3e2e4
parent675ea7281c17f77bf5dea17cfd4d9da0928382a0
libpam: Fix the xtests/tst-pam_motd[1|3] failures

Reproducer:
1.Enable the ptest of libpam and build the image.
2.Boot the rootfs with nfs, then run the following tests as root:
 cd /usr/share/Linux-PAM/xtests
 /usr/share/Linux-PAM/xtests# ./run-xtests.sh . tst-pam_motd1
 /usr/share/Linux-PAM/xtests# ./run-xtests.sh . tst-pam_motd3

After applying this patch, the ptest doesn't be failed.

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
meta/recipes-extended/pam/libpam/0001-pam_motd-do-not-rely-on-all-filesystems-providing-a-.patch [new file with mode: 0644]
meta/recipes-extended/pam/libpam_1.5.2.bb