bios_setting: Add a read handler
Tested:
```
~# echo -n "01234567" > /run/oem_bios_setting
~# ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x18
79 2b 00 18 08 30 31 32 33 34 35 36 37
~# rm /run/oem_bios_setting
~# ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x18
Unable to send RAW command (channel=0x0 netfn=0x2e lun=0x0 cmd=0x32 rsp=0xca): Cannot return number of requested data bytes
```
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Icde2de4799a751634f56a580351bf10254dd7e4f
diff --git a/test/meson.build b/test/meson.build
index f7e3bb9..061b352 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -2,7 +2,7 @@
gmock = dependency('gmock', disabler: true, required: get_option('tests'))
tests_pre = declare_dependency(
- dependencies: [sys_dep, gtest, gmock])
+ dependencies: [sys_dep, gtest, gmock, dependency('stdplus-gtest')])
tests_lib = static_library(
'common',
@@ -32,6 +32,7 @@
'linux_boot_done',
'bm_mode_transition',
'bm_instance',
+ 'bios_setting',
]
foreach t : tests