mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-16 08:16:12 +00:00
update test
This commit is contained in:
@@ -68,22 +68,30 @@ profiles:
|
|||||||
dotfiles:
|
dotfiles:
|
||||||
- f_abc
|
- f_abc
|
||||||
_EOF
|
_EOF
|
||||||
|
cat ${cfg}
|
||||||
|
|
||||||
# create the source
|
# create the imported one
|
||||||
mkdir -p ${tmps}/dotfiles/${tmpd}
|
mkdir -p ${tmps}/dotfiles/${tmpd}
|
||||||
echo "test" > ${tmps}/dotfiles/${tmpd}/abc
|
echo "test" > ${tmps}/dotfiles/${tmpd}/abc
|
||||||
|
echo "test" > ${tmpd}/abc
|
||||||
|
|
||||||
mkdir -p ${tmps}/dotfiles/${tmpd}/sub
|
# create the to-be-imported
|
||||||
echo "test2" > ${tmps}/dotfiles/${tmpd}/sub/abc
|
mkdir -p ${tmpd}/sub
|
||||||
|
echo "test2" > ${tmpd}/sub/abc
|
||||||
|
|
||||||
mkdir -p ${tmps}/dotfiles/${tmpd}/sub/sub2
|
mkdir -p ${tmpd}/sub/sub2
|
||||||
echo "test2" > ${tmps}/dotfiles/${tmpd}/sub/sub2/abc
|
echo "test2" > ${tmpd}/sub/sub2/abc
|
||||||
|
|
||||||
|
mkdir -p ${tmpd}/sub/sub
|
||||||
|
echo "test2" > ${tmpd}/sub/sub/abc
|
||||||
|
|
||||||
# import
|
# import
|
||||||
cd ${ddpath} | ${bin} import -c ${cfg} -p p2 \
|
cd ${ddpath} | ${bin} import -c ${cfg} -p p2 \
|
||||||
${tmps}/dotfiles/${tmpd}/sub/abc \
|
${tmpd}/abc \
|
||||||
${tmps}/dotfiles/${tmpd}/sub/abc \
|
${tmpd}/sub/abc \
|
||||||
${tmps}/dotfiles/${tmpd}/sub/sub2/abc
|
${tmpd}/sub/abc \
|
||||||
|
${tmpd}/sub/sub/abc \
|
||||||
|
${tmpd}/sub/sub2/abc
|
||||||
|
|
||||||
cat ${cfg}
|
cat ${cfg}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user