1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-09 13:29:16 +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}
# 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
echo "second" > ${tmpd}/adir/file1
# 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
[ ! -e ${tmps}/dotfiles/${tmpd}/adir/file1 ] && echo "not exist" && exit 1