diff options
| author | Allen Hubbe <Allen.Hubbe@dell.com> | 2016-12-27 19:12:27 -0500 |
|---|---|---|
| committer | Jon Mason <jdmason@kudzu.us> | 2017-07-06 11:30:06 -0400 |
| commit | c2d42edb528af75890cf73658e86e6dc9ac2b22b (patch) | |
| tree | 5748334e38f19f7fd863458b89317bf2b8977a2f /tools/testing | |
| parent | 6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c (diff) | |
NTB: ntb_test: modprobe on remote host
Signed-off-by: Allen Hubbe <Allen.Hubbe@dell.com>
Acked-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'tools/testing')
| -rwxr-xr-x | tools/testing/selftests/ntb/ntb_test.sh | 4 |
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 | |||
| 85 | function _modprobe() | 85 | function _modprobe() |
| 86 | { | 86 | { |
| 87 | modprobe "$@" | 87 | modprobe "$@" |
| 88 | |||
| 89 | if [[ "$REMOTE_HOST" != "" ]]; then | ||
| 90 | ssh "$REMOTE_HOST" modprobe "$@" | ||
| 91 | fi | ||
| 88 | } | 92 | } |
| 89 | 93 | ||
| 90 | function split_remote() | 94 | function split_remote() |
