fix shellcheck issues
This commit is contained in:
parent
1011c0903d
commit
ea79adcfde
2
tests.sh
2
tests.sh
|
@ -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
|
||||
|
|
|
@ -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 =================================== #
|
||||
|
||||
|
|
|
@ -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 =================================== #
|
||||
|
||||
|
|
|
@ -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 =================================== #
|
||||
|
||||
|
|
|
@ -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 =================================== #
|
||||
|
||||
|
|
|
@ -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 =================================== #
|
||||
|
||||
|
|
|
@ -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 =================================== #
|
||||
|
||||
|
|
Loading…
Reference in New Issue