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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user