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

fix find dot

This commit is contained in:
deadc0de6
2023-11-09 17:54:09 +01:00
parent 12ef27012d
commit 1418c10463

2
tests-ng/dry.sh vendored
View File

@@ -162,7 +162,7 @@ echo "content" > "${tmpd}"/dirchildren/f2
echo "dry import"
cd "${ddpath}" | ${bin} import -c "${cfg}" -f -p p1 -V --dry "${tmpd}"/file "${tmpd}"/link "${tmpd}"/dir "${tmpd}"/dirchildren
cnt=$(find "${tmps}"/dotfiles -maxdepth 1 | wc -l)
cnt=$(find "${tmps}"/dotfiles ! -path . -maxdepth 1 | wc -l)
ls -1 "${tmps}"/dotfiles
[ "${cnt}" != "0" ] && echo "dry import failed (1 -> ${cnt})" && exit 1