1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-11 22:59:01 +00:00

fix import for tests

This commit is contained in:
deadc0de6
2019-06-24 09:56:55 -04:00
parent aaf099d650
commit a13a96b68b

View File

@@ -70,13 +70,13 @@ _EOF
#cat ${cfg} #cat ${cfg}
# import dir # import dir
cd ${ddpath} | ${bin} import -c ${cfg} -p p1 -V ${tmpd}/adir cd ${ddpath} | ${bin} import -f -c ${cfg} -p p1 -V ${tmpd}/adir
# change the file # change the file
echo "second" > ${tmpd}/adir/file1 echo "second" > ${tmpd}/adir/file1
# import file # import file
cd ${ddpath} | ${bin} import -c ${cfg} -p p1 -V ${tmpd}/adir/file1 cd ${ddpath} | ${bin} import -f -c ${cfg} -p p1 -V ${tmpd}/adir/file1
# test # test
[ ! -e ${tmps}/dotfiles/${tmpd}/adir/file1 ] && echo "not exist" && exit 1 [ ! -e ${tmps}/dotfiles/${tmpd}/adir/file1 ] && echo "not exist" && exit 1