Add VtsHalUsbGadgetV1_0Host to vts-hal plan am: ceda247e79
am: a6b3fb4dbd
Change-Id: I5ab08ddc0ca172966bdf91f834eb026d52cd5fa4
diff --git a/usb/gadget/V1_0/host/AndroidTest.xml b/usb/gadget/V1_0/host/AndroidTest.xml
index 6a7af1c..8e8e8a8 100644
--- a/usb/gadget/V1_0/host/AndroidTest.xml
+++ b/usb/gadget/V1_0/host/AndroidTest.xml
@@ -16,6 +16,7 @@
<configuration description="Config for VtsHalUsbGadgetV1_0Host test cases">
<option name="config-descriptor:metadata" key="plan" value="vts-staging-default" />
<option name="config-descriptor:metadata" key="plan" value="vts-hal-host" />
+ <option name="config-descriptor:metadata" key="plan" value="vts-hal" />
<target_preparer class="com.android.compatibility.common.tradefed.targetprep.VtsFilePusher">
<option name="push-group" value="HostDrivenTest.push" />
</target_preparer>
diff --git a/usb/gadget/V1_0/host/VtsHalUsbGadgetV1_0HostTest.py b/usb/gadget/V1_0/host/VtsHalUsbGadgetV1_0HostTest.py
index da9abb6..2be71cd 100644
--- a/usb/gadget/V1_0/host/VtsHalUsbGadgetV1_0HostTest.py
+++ b/usb/gadget/V1_0/host/VtsHalUsbGadgetV1_0HostTest.py
@@ -45,7 +45,7 @@
self.adb.wait_for_device()
except adb.AdbError as e:
logging.exception(e)
- self.serialno = self.adb.shell("\"getprop ro.serialno\"")
+ self.serialno = self.adb.shell("getprop ro.serialno")
def checkProtocol(self, usb_class, usb_sub_class, usb_protocol):
"""Queries the host USB bus to see if the interface is present.