From: Allen Hubbe Date: Wed, 28 Dec 2016 00:12:27 +0000 (-0500) Subject: NTB: ntb_test: modprobe on remote host X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c2d42edb528af75890cf73658e86e6dc9ac2b22b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git NTB: ntb_test: modprobe on remote host Signed-off-by: Allen Hubbe Acked-by: Logan Gunthorpe Signed-off-by: Jon Mason --- diff --git a/tools/testing/selftests/ntb/ntb_test.sh b/tools/testing/selftests/ntb/ntb_test.sh index 13f5198ba0ee..1ee8ea350f65 100755 --- a/tools/testing/selftests/ntb/ntb_test.sh +++ b/tools/testing/selftests/ntb/ntb_test.sh @@ -85,6 +85,10 @@ set -e function _modprobe() { modprobe "$@" + + if [[ "$REMOTE_HOST" != "" ]]; then + ssh "$REMOTE_HOST" modprobe "$@" + fi } function split_remote()