Testing userspace code
Joseph Reynolds
jrey at linux.ibm.com
Tue Oct 8 11:36:56 AEDT 2019
On 10/4/19 10:44 AM, Patrick Venture wrote:
> I've been working on designing a test infrastructure focused on
> userspace aspects of openbmc, and since most daemons only need to
> speak dbus -- I wanted to reach out to see if any team has already
> designed/implemented a system that takes an environment description
> and creates a dbus representation?
>
> The idea, one daemon runs and owns all the dbus objects expected, and
> ipmid/bmcweb etc can be tested by talking to that daemon.
FWIW, BMCWeb bypasses D-Bus interfaces and talks directly to Linux PAM,
for example by calling pamAuthenticateUser().
You may be able to use the host's PAM if you didn't want to mock up PAM
and didn't need to test user management.
- Joseph
>
> Thanks,
> Patrick
More information about the openbmc
mailing list