From: Allen Hubbe Date: Wed, 28 Dec 2016 00:12:27 +0000 (-0500) Subject: NTB: ntb_test: modprobe on remote host X-Git-Tag: rel_imx_4.19.35_1.1.0~12125^2~18 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=c2d42edb528af75890cf73658e86e6dc9ac2b22b;p=linux.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()