mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-16 07:11:10 +00:00
test verbosity
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
1
tests.sh
1
tests.sh
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user