Merge "Print the result of command when test is failed" am: c28bb26888 am: 864c93bf07 am: 4ae105f517
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1749262 Change-Id: I79f0989ed49adf0abe190b16472af5c345592ae9
This commit is contained in:
@@ -1080,7 +1080,7 @@ public class ConnectivityManagerTest {
|
||||
final Matcher m = Pattern.compile("^" + ssid + ";(true|false|none)$",
|
||||
Pattern.MULTILINE | Pattern.UNIX_LINES).matcher(policyString);
|
||||
if (!m.find()) {
|
||||
fail("Unexpected format from cmd netpolicy");
|
||||
fail("Unexpected format from cmd netpolicy, policyString = " + policyString);
|
||||
}
|
||||
return m.group(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user