Make y-cable check case insensitive
Set cxl bit when product name is y-cable(case insensitive)
Tested:
[----------] 7 tests from FormatIPMIFRUTest
[ RUN ] FormatIPMIFRUTest.EmptyFruReturnsError
[ OK ] FormatIPMIFRUTest.EmptyFruReturnsError (0 ms)
[ RUN ] FormatIPMIFRUTest.YCableProductNameSetsCxlDeviceCapCase
[ OK ] FormatIPMIFRUTest.YCableProductNameSetsCxlDeviceCapCase (0 ms)
[ RUN ] FormatIPMIFRUTest.YCableProductNameSetsCxlDeviceSmallCase
[ OK ] FormatIPMIFRUTest.YCableProductNameSetsCxlDeviceSmallCase (0 ms)
[ RUN ] FormatIPMIFRUTest.YCableProductNameSetsCxlDeviceCamelCase
[ OK ] FormatIPMIFRUTest.YCableProductNameSetsCxlDeviceCamelCase (0 ms)
[ RUN ] FormatIPMIFRUTest.NormalProductNameDoesNotSetCxlDevice
[ OK ] FormatIPMIFRUTest.NormalProductNameDoesNotSetCxlDevice (0 ms)
[ RUN ] FormatIPMIFRUTest.InvalidChecksumReturnsWarning
[ OK ] FormatIPMIFRUTest.InvalidChecksumReturnsWarning (0 ms)
[ RUN ] FormatIPMIFRUTest.TruncatedFruReturnsError
[ OK ] FormatIPMIFRUTest.TruncatedFruReturnsError (0 ms)
[----------] 7 tests from FormatIPMIFRUTest (0 ms total)
Google-Bug-Id: 427566786
Change-Id: I03c8b01529d278a01a19a8e7bba2975c57ac2dc9
Signed-off-by: Konda Reddy Kachana <kkachana@google.com>
2 files changed