commit | 76ac14a10d9c7bc095d5029928033478f29fdf3c | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Sep 08 14:59:04 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Sep 11 13:44:32 2017 -0700 |
tree | 2f4eddf95fd2519ff44b5d56e596186e77c837e7 | |
parent | bf20a261f0ff11dad5f55009de04895953cca8ff [diff] |
lshal: fix output streams for testing. ListCommand does not keep a reference to output and err streams (for easier mock in testing). Instead, ListCommand uses out() and err() that calls into Lshal::out() and err(). Test: lshal Test: lshal_test Change-Id: Ie6720833ad513ba5cb1246e34ef96afed5d4373c