test: Shellcheck - correct rule: "Tilde does not expand in quotes"
Correct shellcheck rule SC2088: Tilde does not expand in quotes. Use $HOME. Signed-off-by: Maciej Wawryk <maciejx.wawryk@intel.com> Change-Id: Iea1eeaafc414c153f60634aaa39b0ab3272c9c48 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/469836 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
6e03b6ba57
commit
b6af628671
@ -243,7 +243,7 @@ if hash shellcheck 2>/dev/null; then
|
||||
SC1083,SC1090,SC1091,SC1113,SC2001,SC2002,SC2003,SC2004,SC2005,\
|
||||
SC2010,SC2012,SC2013,SC2015,SC2016,SC2018,SC2019,SC2022,\
|
||||
SC2027,SC2030,SC2031,SC2034,SC2035,SC2039,SC2043,SC2044,SC2045,SC2046,\
|
||||
SC2068,SC2086,SC2088,SC2089,SC2090,SC2091,SC2094,\
|
||||
SC2068,SC2086,SC2089,SC2090,SC2091,SC2094,\
|
||||
SC2097,SC2098,SC2103,SC2115,SC2116,SC2119,SC2120,SC2121,SC2124,SC2126,SC2128,\
|
||||
SC2129,SC2140,SC2142,SC2143,SC2145,SC2146,SC2148,SC2152,SC2153,SC2154,SC2155,\
|
||||
SC2162,SC2164,SC2165,SC2166,SC2167,SC2174,SC2178,SC2181,\
|
||||
|
@ -88,7 +88,7 @@ vm_wait_for_boot 300 0
|
||||
|
||||
# Run tests on VM
|
||||
vm_scp 0 $testdir/integrity_vm.sh root@127.0.0.1:/root/integrity_vm.sh
|
||||
vm_exec 0 "~/integrity_vm.sh $ctrl_type \"$vm_fs\""
|
||||
vm_exec 0 "$HOME/integrity_vm.sh $ctrl_type \"$vm_fs\""
|
||||
|
||||
notice "Shutting down virtual machine..."
|
||||
vm_shutdown_all
|
||||
|
Loading…
Reference in New Issue
Block a user