test: Shellcheck - correct rule: Use ./*glob*

Correct shellcheck rule SC2035: Use ./*glob* or
-- *glob* so names with dashes won't become options.

Signed-off-by: Maciej Wawryk <maciejx.wawryk@intel.com>
Change-Id: If41cc6c4571b78ab7533a8156239bc879fab0216
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470731
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Maciej Wawryk 2019-10-08 11:05:30 +02:00 committed by Jim Harris
parent f724ce0caa
commit b854d55806
2 changed files with 3 additions and 3 deletions

View File

@ -243,7 +243,7 @@ if hash shellcheck 2>/dev/null; then
SHCK_EXCLUDE="SC1001,SC1003,SC1010,\
SC1083,SC1113,SC2001,SC2002,SC2003,SC2004,SC2005,\
SC2010,SC2012,SC2013,SC2016,\
SC2034,SC2035,SC2039,SC2043,SC2044,SC2045,SC2046,\
SC2034,SC2039,SC2043,SC2044,SC2045,SC2046,\
SC2068,SC2086,SC2089,SC2090,\
SC2097,SC2098,SC2103,SC2115,SC2116,SC2119,SC2120,SC2121,SC2124,SC2126,SC2128,\
SC2129,SC2140,SC2142,SC2143,SC2145,SC2146,SC2148,SC2152,SC2153,SC2154,SC2155,\

View File

@ -131,7 +131,7 @@ if [ -d /usr/src/fio ]; then
run_fio --spdk_conf=./test/bdev/bdev.conf --spdk_mem=$PRE_RESERVED_MEM --output=$output_dir/blockdev_fio_verify.txt
rm -f *.state
rm -f ./*.state
rm -f $testdir/bdev.fio
timing_exit fio_rw_verify
@ -144,7 +144,7 @@ if [ -d /usr/src/fio ]; then
run_fio --spdk_conf=./test/bdev/bdev.conf --output=$output_dir/blockdev_trim.txt
rm -f *.state
rm -f ./*.state
rm -f $testdir/bdev.fio
timing_exit fio_trim
report_test_completion "bdev_fio"