Skip to content

Commit

Permalink
fix find dot
Browse files Browse the repository at this point in the history
  • Loading branch information
deadc0de6 committed Nov 9, 2023
1 parent 12ef270 commit 1418c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests-ng/dry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1418c10

Please sign in to comment.