test/iscsi_tgt: silence shellcheck SC2029
This is detected by some shellcheck versions. The wiki for this error tells us we should ignore it if we know what we're doing. Change-Id: I461dcceace652bc9abd1cfb9f6a2794b98016e96 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2429 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
d8cafc28bb
commit
6f5b39115d
@ -83,6 +83,8 @@ if [ $EUID -ne 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
function ssh_initiator() {
|
function ssh_initiator() {
|
||||||
|
# shellcheck disable=SC2029
|
||||||
|
# (we want to expand $@ immediately, not on the VM)
|
||||||
ssh -i $HOME/.ssh/spdk_vhost_id_rsa root@$IP_I_SSH "$@"
|
ssh -i $HOME/.ssh/spdk_vhost_id_rsa root@$IP_I_SSH "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user