commit | ca3b6609625c838cfc0975e00bbbc7386f618874 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Sep 07 16:44:27 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Sep 11 13:44:32 2017 -0700 |
tree | 4659dbb9b904a663a4463a33a05cc997b9db244f | |
parent | 76ac14a10d9c7bc095d5029928033478f29fdf3c [diff] |
lshal: fix file streams for testing. * If a file is specified for list, the file is opened and closed within the ListCommand::dump() function. * Add a missing break in ListCommand::parseArgs, case for '--init-vintf' Test: lshal_test Test: lshal --init-vintf Test: lshal --init-vintf=/data/data/a.xml ; adb shell cat \ /data/data/a.xml Test: lshal -d Test: lshal --debug=/data/data/d.txt ; adb shell cat \ /data/data/d.txt Change-Id: I1acee5878638d25257a13244713dc416e9d8d6b2