1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 20:19:46 +00:00

fix tests

This commit is contained in:
deadc0de6
2019-04-04 12:16:24 +02:00
parent 5f6cd81465
commit 47a98f4e05

View File

@@ -115,7 +115,6 @@ echo ${line} | grep 'link: link_children'
cd ${ddpath} | ${bin} install -f -c ${cfg} -p p1 -V
# checks file have correct type in fs
file ${f1}
[ ! -h ${f1} ] && echo "f1 is not a symlink" && exit 1
[ -h ${subf1} ] && echo "subf1 is not a regular file" && exit 1
[ -h ${subf2} ] && echo "subf2 is not a regular file" && exit 1
@@ -124,11 +123,6 @@ file ${f1}
[ ! -h ${dtsub2} ] && echo "dtsub2 is not a symlink" && exit 1
[ -h ${dtsub3} ] && echo "dtsub3 is not a regular directory" && exit 1
echo "DOTPATH"
tree ${tmps}/dotfiles
echo "FILESYSTEM"
tree ${dt}
## CLEANING
rm -rf ${tmps} ${tmpd}