adjust send_meassge test

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2020-12-28 15:03:53 +01:00
parent a3efcd2e7f
commit 1a0b51d2ab
4 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@
#
# Description: run all tests, exit after failed test
#
#### $$VERSION$$ v1.21-dev-10-g9bfc27a
#### $$VERSION$$ v1.21-dev-22-ga3efcd2
#############################################################
# magic to ensure that we're always inside the root of our application,

View File

@ -7,7 +7,7 @@
#
# Usage: source inject-json.sh
#
#### $$VERSION$$ v1.21-dev-21-g8c67bb7
#### $$VERSION$$ v1.21-dev-22-ga3efcd2
##############################################################
# download JSON.sh

View File

@ -127,5 +127,5 @@ You must update to [Version 1.20](https://github.com/topkecleon/telegram-bot-bas
#### [Next Create Bot](1_firstbot.md)
#### $$VERSION$$ v1.21-dev-21-g8c67bb7
#### $$VERSION$$ v1.21-dev-22-ga3efcd2

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
#### $$VERSION$$ v1.20-0-g2ab00a2
#### $$VERSION$$ v1.21-dev-22-ga3efcd2
# include common functions and definitions
# shellcheck source=test/ALL-tests.inc.sh
@ -45,10 +45,10 @@ touch "$ALLOW/this_is_my.gif" "$ALLOW/this_is_my.doc"
touch "$DATADIR/this_is_my.gif" "$DATADIR/this_is_my.doc"
while read -r line ; do
echo -n "."
set -x
set -x; set +e
send_message "123456" "$line" >>"${OUTPUTFILE}"
set +x
set +x; set -e
echo -n "."
done < "${INPUTFILE}" 2>>"${LOGFILE}"
[ -d "$ALLOW" ] && rm -rf "$ALLOW"