vts: fix TryDifferentGovernors in Power hal test

am: ae96eee82b

Change-Id: I700de5db71fb60b33983309d8d71a672dd2f98a3
This commit is contained in:
bohu 2017-06-24 02:09:26 +00:00 committed by android-build-merger
commit 9165643690

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];