mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-09 14:39:16 +00:00
more tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user