summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/ntb/ntb_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/ntb/ntb_test.sh')
-rwxr-xr-xtools/testing/selftests/ntb/ntb_test.sh4
1 files changed, 4 insertions, 0 deletions
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()