1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 16:49:42 +00:00
This commit is contained in:
deadc0de6
2023-01-28 17:26:40 +01:00
committed by deadc0de
parent 57558230c4
commit ec6a31e690
6 changed files with 33 additions and 15 deletions

View File

@@ -91,7 +91,7 @@ profiles:
dotfiles:
- f_abc
_EOF
#cat ${cfg}
#cat "${cfg}"
# create the dotfile
echo "{{@@ var1 @@}}" > "${tmps}"/dotfiles/abc
@@ -104,12 +104,13 @@ echo "test" >> "${tmps}"/dotfiles/abc
# install
cd "${ddpath}" | ${bin} install -f -c "${cfg}" -p p1 -V
#cat "${cfg}"
echo "-----"
cat "${tmpd}"/abc
echo "-----"
grep '^this is some test' "${tmpd}"/abc >/dev/null
grep '^# author: deadc0de6' "${tmpd}"/abc >/dev/null
grep '^# shellcheck' "${tmpd}"/abc >/dev/null
grep '^tset,emos,si,siht' "${tmpd}"/abc >/dev/null
grep "^${TESTENV}" "${tmpd}"/abc > /dev/null
grep '^4ravd_eht' "${tmpd}"/abc >/dev/null