Use FilePusher as the target_preparer for resolv tests

This is a workaround for DnsResovler MTS coverage.

Bug: 152303924
Test: m mts && mts-tradefed run mts-dnsresolver
Test: forrest
Merged-In: I7371c7fbd3889dd522241f2a479bae46f182feba
Change-Id: If2e0750605208de3fd4bed781c17a73193807a8d
(cherry picked from commit b146c8aae1400e0196241ef5bb2d3d6b83f40c5e)
diff --git a/resolv_test_config_template.xml b/resolv_test_config_template.xml
new file mode 100644
index 0000000..34df3be
--- /dev/null
+++ b/resolv_test_config_template.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+<!-- Temporary solution for MTS coverage because MTS coverage can only run with FilesPusher.
+     See b/152303924 for details.
+-->
+<configuration description="Configuration for {MODULE} tests">
+   <option name="test-suite-tag" value="mts" />
+   <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher">
+       <option name="cleanup" value="true" />
+       <option name="push" value="{MODULE}->/data/local/tmp/{MODULE}" />
+   </target_preparer>
+   <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>
+   <test class="com.android.tradefed.testtype.GTest" >
+       <option name="native-test-device-path" value="/data/local/tmp" />
+       <option name="module-name" value="{MODULE}" />
+       <option name="runtime-hint" value="10m" />
+       <!-- test-timeout unit is ms, value = 10 min -->
+       <option name="native-test-timeout" value="600000" />
+   </test>
+</configuration>