1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-15 02:20:05 +00:00

update tests

This commit is contained in:
deadc0de6
2020-12-11 19:44:44 +01:00
parent 1cde6c0988
commit f6ac82082f
2 changed files with 9 additions and 5 deletions

View File

@@ -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