1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-09 14:39:16 +00:00

more tests

This commit is contained in:
deadc0de6
2020-08-11 18:59:58 +02:00
parent ba21e499fa
commit 72cc87aa47
3 changed files with 102 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
#
# exit on first error
#set -e
set -e
# all this crap to get current path
rl="readlink -f"
@@ -68,17 +68,26 @@ dotfiles:
f_z:
src:
dst:
f_l:
src:
dst:
link: link
f_lc:
src:
dst:
link: link_children
profiles:
p1:
dotfiles:
- f_x
- f_y
- f_z
- f_l
- f_lc
_EOF
echo "[+] install"
cd ${ddpath} | ${bin} install -c ${cfg} -p p1 --verbose | grep '^3 dotfile(s) installed.$'
cd ${ddpath} | ${bin} install -c ${cfg} -p p1 --verbose | grep '^5 dotfile(s) installed.$'
[ "$?" != "0" ] && exit 1
## CLEANING