1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 03:19:43 +00:00

test for binaries

This commit is contained in:
deadc0de6
2020-10-09 09:10:40 +02:00
parent 1622310975
commit 98b908e319

View File

@@ -68,18 +68,23 @@ dotfiles:
src: y
dst: ${tmpd}/y
link: link
f_z:
src: z
dst: ${tmpd}/z
profiles:
p1:
dotfiles:
- f_x
- f_y
- f_z
_EOF
echo 'test_x' > ${basedir}/dotfiles/x
echo 'test_y' > ${basedir}/dotfiles/y
echo "00000000 01 02 03 04 05" | xxd -r - ${basedir}/dotfiles/z
echo "[+] install"
cd ${ddpath} | ${bin} install -c ${cfg} -p p1 --showdiff --verbose --temp | grep '^2 dotfile(s) installed.$'
cd ${ddpath} | ${bin} install -c ${cfg} -p p1 --showdiff --verbose --temp | grep '^3 dotfile(s) installed.$'
[ "$?" != "0" ] && exit 1
## CLEANING