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 2a9ba3e867e4ba8ea8818a5be24807301a945f17.
old-commit-hash: d90d9b2280
commatwo_master
parent
0ef41b3e94
commit
28a9781c51
2 changed files with 17 additions and 12 deletions
Loading…
Reference in new issue