Fix the sysman code by replacing "Unknown" with "unknown"
Signed-off-by: Kanhaiya Singh <kanhaiya.singh@intel.com>
This commit is contained in:
parent
35312d4126
commit
33ba9f45b1
|
@ -8,7 +8,7 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
const std::string vendorIntel("Intel(R) Corporation");
|
||||
const std::string unknown("Unknown");
|
||||
const std::string unknown("unknown");
|
||||
const std::string intelPciId("0x8086");
|
||||
constexpr uint32_t MbpsToBytesPerSecond = 125000;
|
||||
constexpr double milliVoltsFactor = 1000.0;
|
||||
|
|
|
@ -203,11 +203,11 @@ TEST_F(ZesFirmwareFixture, GivenValidFirmwareHandleFirmwareLibraryCallFailureWhe
|
|||
zes_firmware_properties_t properties = {};
|
||||
EXPECT_EQ(ZE_RESULT_SUCCESS, zesFirmwareGetProperties(handles[0], &properties));
|
||||
EXPECT_STREQ(mockSupportedFwTypes[0].c_str(), properties.name);
|
||||
EXPECT_STREQ("Unknown", properties.version);
|
||||
EXPECT_STREQ("unknown", properties.version);
|
||||
|
||||
EXPECT_EQ(ZE_RESULT_SUCCESS, zesFirmwareGetProperties(handles[1], &properties));
|
||||
EXPECT_STREQ(mockSupportedFwTypes[1].c_str(), properties.name);
|
||||
EXPECT_STREQ("Unknown", properties.version);
|
||||
EXPECT_STREQ("unknown", properties.version);
|
||||
}
|
||||
|
||||
class ZesFirmwareUninitializedFixture : public SysmanDeviceFixture {
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace L0 {
|
|||
namespace ult {
|
||||
|
||||
const std::string vendorIntel("Intel(R) Corporation");
|
||||
const std::string unknown("Unknown");
|
||||
const std::string unknown("unknown");
|
||||
const std::string intelPciId("0x8086");
|
||||
const std::string deviceDir("device");
|
||||
const std::string vendorFile("device/vendor");
|
||||
|
|
Loading…
Reference in New Issue