Merge "Print the result of command when test is failed" am: c28bb26888 am: 864c93bf07

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1749262

Change-Id: I1ec8cc0a99bcd730792b0d46a6e11119cd2f54fa