commit | e8474c2a10be7ca9c8ff1be672017bb55462387b | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Dec 06 22:44:35 2021 -0800 |
committer | Yifan Hong <elsk@google.com> | Mon Dec 06 23:09:37 2021 -0800 |
tree | 94758c83bb5ab1195d5722e8d42b13dde05dd5e8 | |
parent | 6c31ab7a13ec673e038cd2cc93c988098bd6cb7b [diff] |
storaged: test do not crash on cuttlefish. If device does not have disk stats, do not crash the test. Check for null C strings before converting it to std::string. Test: storaged-unit-tests Change-Id: I46c87b6b6876fb0fbdb403c0015886d6d4cca0c6