1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-06 20:40:38 +00:00

shellcheck fixes

This commit is contained in:
deadc0de6
2023-01-27 16:44:19 +01:00
committed by deadc0de
parent fd26eb89b3
commit 2f1bbeacee
135 changed files with 4083 additions and 3950 deletions

10
tests.sh vendored
View File

@@ -14,7 +14,7 @@ if ! ${rl} "${0}" >/dev/null 2>&1; then
echo "\"${rl}\" not found!" && exit 1
fi
fi
cur=`dirname $(${rl} "${0}")`
cur=$(dirname "$(${rl} "${0}")")
# make sure both version.py and manpage dotdrop.1 are in sync
dotdrop_version=$(grep version dotdrop/version.py | sed 's/^.*= .\(.*\).$/\1/g')
@@ -27,19 +27,19 @@ echo "current version ${dotdrop_version}"
# test syntax
echo "checking syntax..."
${cur}/test-syntax.sh
"${cur}"/test-syntax.sh
# test doc
echo "checking documentation..."
${cur}/test-doc.sh
"${cur}"/test-doc.sh
# unittest
echo "unittest..."
${cur}/test-unittest.sh
"${cur}"/test-unittest.sh
# tests-ng
echo "tests-ng..."
${cur}/test-ng.sh
"${cur}"/test-ng.sh
## done
echo "All tests finished successfully"