fix shellcheck issues

This commit is contained in:
Felix Lohmeier 2020-08-04 13:58:26 +02:00
parent 1011c0903d
commit ea79adcfde
7 changed files with 19 additions and 19 deletions

View File

@ -89,7 +89,7 @@ results=()
for t in tests/*.sh; do
tests+=("${t}")
echo "========================= ${t} =========================" &>> tests.log
bash ${t} "${cmd}" "${version}" &>> tests.log
bash "${t}" "${cmd}" "${version}" &>> tests.log
results+=(${?})
done
echo

View File

@ -34,9 +34,9 @@ DATA
${cmd} --create "tmp/${t}/${t}.csv"
${cmd} --export "${t}" --output "tmp/${t}/${t}.ods"
(cd tmp/${t} &&
ssconvert -S ${t}.ods ${t}.csv &&
mv ${t}.csv.1 ${t}.output)
(cd tmp/"${t}" &&
ssconvert -S "${t}.ods" "${t}.csv" &&
mv "${t}.csv.1" "${t}.output")
# =================================== TEST =================================== #

View File

@ -38,9 +38,9 @@ DATA
${cmd} --create "tmp/${t}/${t}.csv"
${cmd} --export "${t}" --output "tmp/${t}/${t}.ods"
(cd tmp/${t} &&
ssconvert -S ${t}.ods ${t}.csv &&
mv ${t}.csv.1 ${t}.output)
(cd tmp/"${t}" &&
ssconvert -S "${t}.ods" "${t}.csv" &&
mv "${t}.csv.1" "${t}.output")
# =================================== TEST =================================== #

View File

@ -34,9 +34,9 @@ DATA
${cmd} --create "tmp/${t}/${t}.csv"
${cmd} --export "${t}" --output "tmp/${t}/${t}.xls"
(cd tmp/${t} &&
ssconvert -S ${t}.xls ${t}.csv &&
mv ${t}.csv ${t}.output)
(cd tmp/"${t}" &&
ssconvert -S "${t}.xls" "${t}.csv" &&
mv "${t}.csv" "${t}.output")
# =================================== TEST =================================== #

View File

@ -34,9 +34,9 @@ DATA
${cmd} --create "tmp/${t}/${t}.csv"
${cmd} --export "${t}" --output "tmp/${t}/${t}.xls"
(cd tmp/${t} &&
ssconvert -S ${t}.xls ${t}.csv &&
mv ${t}.csv ${t}.output)
(cd tmp/"${t}" &&
ssconvert -S "${t}.xls" "${t}.csv" &&
mv "${t}.csv" "${t}.output")
# =================================== TEST =================================== #

View File

@ -34,9 +34,9 @@ DATA
${cmd} --create "tmp/${t}/${t}.csv"
${cmd} --export "${t}" --output "tmp/${t}/${t}.xlsx"
(cd tmp/${t} &&
ssconvert -S ${t}.xlsx ${t}.csv &&
mv ${t}.csv ${t}.output)
(cd tmp/"${t}" &&
ssconvert -S "${t}.xlsx" "${t}.csv" &&
mv "${t}.csv" "${t}.output")
# =================================== TEST =================================== #

View File

@ -34,9 +34,9 @@ DATA
${cmd} --create "tmp/${t}/${t}.csv"
${cmd} --export "${t}" --output "tmp/${t}/${t}.xlsx"
(cd tmp/${t} &&
ssconvert -S ${t}.xlsx ${t}.csv &&
mv ${t}.csv ${t}.output)
(cd tmp/"${t}" &&
ssconvert -S "${t}.xlsx" "${t}.csv" &&
mv "${t}.csv" "${t}.output")
# =================================== TEST =================================== #