1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-16 08:16:12 +00:00

test verbosity

This commit is contained in:
deadc0de6
2020-10-25 16:27:47 +01:00
parent bfe63c34f9
commit 1f633161ef
2 changed files with 3 additions and 2 deletions

View File

@@ -98,8 +98,8 @@ cd ${ddpath} | ${bin} update -f -c ${cfg} --verbose --profile=p1 --key f_abc
#tree ${dt} #tree ${dt}
# check files haven't been updated # check files haven't been updated
grep 'b' ${dt}/a/c/acfile >/dev/null grep 'b' ${dt}/a/c/acfile >/dev/null || (echo "b not found" && exit 1)
[ -e ${dt}/a/newfile ] && exit 1 [ -e ${dt}/a/newfile ] && echo "new file does not exist" && exit 1
## CLEANING ## CLEANING
rm -rf ${tmps} ${tmpd} rm -rf ${tmps} ${tmpd}

View File

@@ -47,6 +47,7 @@ unset DOTDROP_FORCE_NODEBUG
echo "doing extended tests" echo "doing extended tests"
log=`mktemp` log=`mktemp`
for scr in tests-ng/*.sh; do for scr in tests-ng/*.sh; do
echo "Running test ${scr}"
if [ -z ${TRAVIS} ]; then if [ -z ${TRAVIS} ]; then
${scr} > "${log}" 2>&1 & ${scr} > "${log}" 2>&1 &
else else