Page MenuHomeFreeBSD

Correct definitions in sys.opencrypto.runtests.main for 32bit platform
ClosedPublic

Authored by lwhsu on Jul 9 2019, 4:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 25, 6:06 AM
Unknown Object (File)
Fri, Sep 19, 5:58 PM
Unknown Object (File)
Tue, Sep 9, 5:07 PM
Unknown Object (File)
Aug 28 2025, 2:39 AM
Unknown Object (File)
Aug 16 2025, 7:43 AM
Unknown Object (File)
Jul 22 2025, 9:51 AM
Unknown Object (File)
Jul 15 2025, 6:33 PM
Unknown Object (File)
Jul 7 2025, 9:57 AM
Subscribers

Details

Summary

sys.opencrypto.runtests.main tests are always failing on 32bit platform,
correct these definitions from sys/opencrypto/cryptodev.h .

Test Plan

cd /usr/tests/sys/opencrypto/ && kyua test

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jul 9 2019, 4:58 PM

Nice. I was just planning on looking why these tests fail on i386. Thanks!

This should actually be obtained via ctypes.

In D20894#452944, @ngie wrote:

This should actually be obtained via ctypes.

It will be great if this is possible. I wanted to check how to do so but I don't have much time on it right now. If you can point me some example, I can fix this soon. Thanks!