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:
2
tests-ng/dry.sh
vendored
2
tests-ng/dry.sh
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user