From 1a0b51d2aba6a109e42789a7259011b254909887 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Mon, 28 Dec 2020 15:03:53 +0100 Subject: [PATCH] adjust send_meassge test --- dev/all-tests.sh | 2 +- dev/inject-json.sh | 2 +- doc/0_install.md | 2 +- test/d-send_message-test.sh | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dev/all-tests.sh b/dev/all-tests.sh index c2530d3..996bc6a 100755 --- a/dev/all-tests.sh +++ b/dev/all-tests.sh @@ -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, diff --git a/dev/inject-json.sh b/dev/inject-json.sh index 9071d04..7893c85 100644 --- a/dev/inject-json.sh +++ b/dev/inject-json.sh @@ -7,7 +7,7 @@ # # Usage: source inject-json.sh # -#### $$VERSION$$ v1.21-dev-21-g8c67bb7 +#### $$VERSION$$ v1.21-dev-22-ga3efcd2 ############################################################## # download JSON.sh diff --git a/doc/0_install.md b/doc/0_install.md index f097e7a..f7397c1 100644 --- a/doc/0_install.md +++ b/doc/0_install.md @@ -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 diff --git a/test/d-send_message-test.sh b/test/d-send_message-test.sh index 4bd6427..152023e 100755 --- a/test/d-send_message-test.sh +++ b/test/d-send_message-test.sh @@ -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"