mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-15 02:20:05 +00:00
update tests
This commit is contained in:
@@ -98,14 +98,10 @@ echo 'b' > ${tmpd}/a/c/acfile
|
||||
mkdir -p ${tmpd}/a/newdir/b
|
||||
touch ${tmpd}/a/newdir/b/c
|
||||
|
||||
#tree ${tmpd}/a
|
||||
|
||||
# update
|
||||
echo "[+] update"
|
||||
cd ${ddpath} | ${bin} update -f -c ${cfg} --verbose --profile=p1 --key f_abc
|
||||
|
||||
#tree ${dt}
|
||||
|
||||
# check files haven't been updated
|
||||
grep_or_fail 'b' "${dt}/a/c/acfile"
|
||||
[ -e ${dt}/a/newfile ] && echo "should not have been updated" && exit 1
|
||||
|
||||
Reference in New Issue
Block a user