From: Allen Hubbe Date: Wed, 28 Dec 2016 00:12:27 +0000 (-0500) Subject: NTB: ntb_test: modprobe on remote host X-Git-Tag: v4.13-rc1~22^2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2d42edb528af75890cf73658e86e6dc9ac2b22b;p=thirdparty%2Fkernel%2Flinux.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 13f5198ba0ee7..1ee8ea350f65c 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()