vts: fix TryDifferentGovernors in Power hal test

am: ae96eee82b

Change-Id: Iaa383d8d150b8b633c3d238c52622fddc0d3ec09
This commit is contained in:
bohu
2017-06-24 02:10:23 +00:00
committed by android-build-merger

View File

@@ -77,6 +77,7 @@ TEST_F(PowerHidlTest, TryDifferentGovernors) {
if (fd1 < 0 || fd2 < 0) {
// Files don't exist, so skip the rest of the test case
SUCCEED();
return;
}
char old_governor[80];