1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-11 09:04:18 +00:00

improve tests

This commit is contained in:
deadc0de6
2020-11-14 15:01:56 +01:00
parent 81d585a37f
commit 87b70053c8
3 changed files with 59 additions and 10 deletions

View File

@@ -94,7 +94,7 @@ profiles:
_EOF
#cat ${cfg}
# import without --preserve-mode
# import
for i in ${toimport}; do
cd ${ddpath} | ${bin} import -c ${cfg} -f -p p1 ${i}
done
@@ -111,7 +111,6 @@ chmod 700 ${flink}
set +e
cnt=`cd ${ddpath} | ${bin} compare -c ${cfg} -p p1 2>&1 | grep 'modes differ' | wc -l`
set -e
[ "${cnt}" != "5" ] && echo "compare modes failed" && exit 1
## CLEANING