mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 16:49:42 +00:00
run sequential tests on remote
This commit is contained in:
5
tests-ng/chmod-compare.sh
vendored
5
tests-ng/chmod-compare.sh
vendored
@@ -128,9 +128,10 @@ chmod 700 ${fnormal}
|
||||
chmod 700 ${flink}
|
||||
|
||||
set +e
|
||||
cnt=`cd ${ddpath} | ${bin} compare -c ${cfg} -p p1 2>&1 | grep 'modes differ' | wc -l`
|
||||
out=`cd ${ddpath} | ${bin} compare -c ${cfg} -p p1 2>&1`
|
||||
cnt=$(echo "${out}" | grep 'modes differ' | wc -l)
|
||||
set -e
|
||||
[ "${cnt}" != "5" ] && echo "compare modes failed (${cnt})" && exit 1
|
||||
[ "${cnt}" != "5" ] && echo "${out}" && echo "compare modes failed (${cnt}, expecting 5)" && exit 1
|
||||
|
||||
echo "OK"
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user