1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 22:04:44 +00:00

fix coverage

This commit is contained in:
deadc0de6
2023-01-19 23:30:25 +01:00
parent 1342fc94b6
commit 2d030d3281
2 changed files with 20 additions and 0 deletions

10
test-unittest.sh vendored
View File

@@ -5,6 +5,16 @@
# stop on first error
set -e
rl="readlink -f"
if ! ${rl} "${0}" >/dev/null 2>&1; then
rl="realpath"
if ! hash ${rl}; then
echo "\"${rl}\" not found!" && exit 1
fi
fi
cur=`dirname $(${rl} "${0}")`
workers=${DOTDROP_WORKERS}
if [ ! -z ${workers} ]; then
unset DOTDROP_WORKERS