mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-08 11:59:16 +00:00
fix #378 and add unittest
This commit is contained in:
2
tests-ng/import-include.sh
vendored
2
tests-ng/import-include.sh
vendored
@@ -85,7 +85,7 @@ cat ${cfg}
|
||||
cnt=`cd ${ddpath} | ${bin} files -c ${cfg} -p p0 | grep '^f_' | wc -l`
|
||||
[ "${cnt}" != "1" ] && echo "this is bad" && exit 1
|
||||
|
||||
# install
|
||||
# import
|
||||
cd ${ddpath} | ${bin} import -f -c ${cfg} -p p0 --verbose ${tmpd}/file
|
||||
|
||||
[ ! -e ${tmps}/dotfiles/${tmpd}/file ] && echo "file not imported" && exit 1
|
||||
|
||||
Reference in New Issue
Block a user