util::read_file: fix reading from sysfs and add test case (#21325)
* add sysfs test case
* Revert "util.cc: refactor read_file (#21321)"
This reverts commit 8d5c61eefe
.
pull/21327/head
parent
8d5c61eefe
commit
d90d9b2280
2 changed files with 17 additions and 12 deletions
Loading…
Reference in new issue