diff --git a/README.html b/README.html index 00eb24e..3312bf0 100644 --- a/README.html +++ b/README.html @@ -97,6 +97,6 @@

@Gnadelwartz

That’s it!

If you feel that there’s something missing or if you found a bug, feel free to submit a pull request!

-


VERSION
v0.70-0-g8ea9e3b

+


VERSION
v0.80-dev-2-g4e4194d

diff --git a/README.md b/README.md index 18b4d5c..d28a216 100644 --- a/README.md +++ b/README.md @@ -94,4 +94,4 @@ Well, thats a damn good question ... may be because I'm an Unix/Linux admin from If you feel that there's something missing or if you found a bug, feel free to submit a pull request! -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d diff --git a/README.txt b/README.txt index 73d8921..0640296 100644 --- a/README.txt +++ b/README.txt @@ -133,4 +133,4 @@ health status If you feel that there's something missing or if you found a bug, feel free to submit a pull request! -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d diff --git a/bashbot.rc b/bashbot.rc index 2e0a730..ca40b84 100755 --- a/bashbot.rc +++ b/bashbot.rc @@ -1,7 +1,7 @@ #!/bin/sh # description: Start or stop telegram-bash-bot # -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # shellcheck disable=SC2009 # shellcheck disable=SC2181 diff --git a/bashbot.sh b/bashbot.sh index 74cfafd..32427ae 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -12,7 +12,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # # Exit Codes: # - 0 sucess (hopefully) @@ -156,8 +156,8 @@ UPD_URL=$URL'/getUpdates?offset=' GETFILE_URL=$URL'/getFile' unset USER -declare -A BOTSENT USER MESSAGE URLS CONTACT LOCATION CHAT FORWARD REPLYTO VENUE -export BOTSENT USER MESSAGE URLS CONTACT LOCATION CHAT FORWARD REPLYTO VENUE +declare -A BOTSENT USER MESSAGE URLS CONTACT LOCATION CHAT FORWARD REPLYTO VENUE iQUERY +export BOTSENT USER MESSAGE URLS CONTACT LOCATION CHAT FORWARD REPLYTO VENUE iQUERY send_normal_message() { @@ -450,7 +450,12 @@ process_updates() { done } process_client() { - process_message "$PROCESS_NUMBER" + iQUERY[ID]="$(JsonGetString <<<"${UPDATE}" '"result",'"$PROCESS_NUMBER"',"inline_query","id"')" + if [ "${iQUERY[ID]}" = "" ]; then + process_message "$PROCESS_NUMBER" + else + [ "$INLINE" = 1 ] && _is_function process_inline && process_inline "$PROCESS_NUMBER" + fi # Tmux copname="$ME"_"${CHAT[ID]}" source commands.sh @@ -471,6 +476,7 @@ process_message() { local num="$1" local TMP="${TMPDIR:-.}/$RANDOM$RANDOM-MESSAGE" echo "$UPDATE" >"$TMP" +echo "$UPDATE" >>"MESSAGE.log" # Message MESSAGE[0]="$(JsonDecode "$(JsonGetString '"result",'"${num}"',"message","text"' <"$TMP")" | sed 's#\\/#/#g')" MESSAGE[ID]="$(JsonGetValue '"result",'"${num}"',"message","message_id"' <"$TMP" )" diff --git a/commands.sh b/commands.sh index 85191b7..02810ef 100644 --- a/commands.sh +++ b/commands.sh @@ -5,7 +5,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # # shellcheck disable=SC2154 # shellcheck disable=SC2034 @@ -21,7 +21,6 @@ unset IFS -if [ "$1" != "source" ]; then # to change the default info message overwrite bashbot_info in mycommands.sh bashbot_info='This is bashbot, the Telegram bot written entirely in bash. It features background tasks and interactive chats, and can serve as an interface for CLI programs. @@ -41,26 +40,28 @@ Written by Drew (@topkecleon), Daniil Gentili (@danogentili) and KayM(@gnadelwar Get the code in my [GitHub](http://github.com/topkecleon/telegram-bot-bash) ' - # load modules - # shellcheck source=./modules/aliases.sh - [ -r "${MODULEDIR:-.}/aliases.sh" ] && source "${MODULEDIR:-.}/aliases.sh" - # shellcheck source=./modules/background.sh - [ -r "${MODULEDIR:-.}/background.sh" ] && source "${MODULEDIR:-.}/background.sh" - # ... more modules here ... +# load modules +# shellcheck source=./modules/aliases.sh +[ -r "${MODULEDIR:-.}/aliases.sh" ] && source "${MODULEDIR:-.}/aliases.sh" +# shellcheck source=./modules/background.sh +[ -r "${MODULEDIR:-.}/background.sh" ] && source "${MODULEDIR:-.}/background.sh" +# shellcheck source=./modules/background.sh +[ -r "${MODULEDIR:-.}/inline.sh" ] && source "${MODULEDIR:-.}/inline.sh" +# ... more modules here ... - # mycommands is the last "module" to source in - # shellcheck source=./commands.sh - [ -r "${BASHBOT_ETC:-.}/mycommands.sh" ] && source "${BASHBOT_ETC:-.}/mycommands.sh" -fi if [ "$1" = "source" ];then - # Set INLINE to 1 in order to receive inline queries. - # To enable this option in your bot, send the /setinline command to @BotFather. + # defaults to no inline and nonsense home dir INLINE="0" - # Set to .* to allow sending files from all locations FILE_REGEX='/home/user/allowed/.*' + # shellcheck source=./commands.sh + [ -r "${BASHBOT_ETC:-.}/mycommands.sh" ] && source "${BASHBOT_ETC:-.}/mycommands.sh" "source" else + # mycommands is the last "module" to source in + # shellcheck source=./commands.sh + [ -r "${BASHBOT_ETC:-.}/mycommands.sh" ] && source "${BASHBOT_ETC:-.}/mycommands.sh" + if ! tmux ls | grep -v send | grep -q "$copname"; then # interactive running? [ ! -z "${URLS[*]}" ] && { diff --git a/dev/all-tests.sh b/dev/all-tests.sh index cbc06c5..0a5683c 100755 --- a/dev/all-tests.sh +++ b/dev/all-tests.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # this has to run once atfer git clone # and every time we create new hooks -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # magic to ensure that we're always inside the root of our application, # no matter from which directory we'll run script diff --git a/dev/git-add.sh b/dev/git-add.sh index 612b1be..1ebc829 100755 --- a/dev/git-add.sh +++ b/dev/git-add.sh @@ -3,7 +3,7 @@ # # works together with git pre-push.sh and ADD all changed files since last push -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # magic to ensure that we're always inside the root of our application, # no matter from which directory we'll run script diff --git a/dev/hooks/pre-commit.sh b/dev/hooks/pre-commit.sh index 79379b7..25246ee 100755 --- a/dev/hooks/pre-commit.sh +++ b/dev/hooks/pre-commit.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d ############ # NOTE: you MUST run install-hooks.sh again when updating this file! diff --git a/dev/hooks/pre-push.sh b/dev/hooks/pre-push.sh index 09ee726..22d70da 100755 --- a/dev/hooks/pre-push.sh +++ b/dev/hooks/pre-push.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d ############ # NOTE: you MUST run install-hooks.sh again when updating this file! diff --git a/dev/install-hooks.sh b/dev/install-hooks.sh index 66cefd6..858a9b4 100755 --- a/dev/install-hooks.sh +++ b/dev/install-hooks.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # this has to run once atfer git clone # and every time we create new hooks -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # magic to ensure that we're always inside the root of our application, # no matter from which directory we'll run script diff --git a/dev/make-dist.sh b/dev/make-dist.sh index ed129b0..0d46df1 100755 --- a/dev/make-dist.sh +++ b/dev/make-dist.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # this has to run once atfer git clone # and every time we create new hooks -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # magic to ensure that we're always inside the root of our application, # no matter from which directory we'll run script diff --git a/dev/shellcheck.files b/dev/shellcheck.files index 2eee57b..7aa707b 100644 --- a/dev/shellcheck.files +++ b/dev/shellcheck.files @@ -1,3 +1,3 @@ # list of additional files to check from shellcheck -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d bashbot.rc diff --git a/dev/version.sh b/dev/version.sh index e7553e8..55f0acf 100755 --- a/dev/version.sh +++ b/dev/version.sh @@ -1,6 +1,6 @@ #!/bin/bash # -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # shellcheck disable=SC2016 # # Easy Versioning in git: diff --git a/doc/0_install.md b/doc/0_install.md index 9048100..b26b30f 100644 --- a/doc/0_install.md +++ b/doc/0_install.md @@ -63,5 +63,5 @@ The old format is supported for backward compatibility, but may fail for corner #### [Next Create Bot](1_firstbot.md) -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d diff --git a/doc/1_firstbot.md b/doc/1_firstbot.md index 335c2c2..25dcbb2 100644 --- a/doc/1_firstbot.md +++ b/doc/1_firstbot.md @@ -65,5 +65,5 @@ group. This step is up to you actually. #### [Prev Installation](0_install.md) #### [Next Getting started](2_usage.md) -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d diff --git a/doc/2_usage.md b/doc/2_usage.md index 8d9b89b..a75610b 100644 --- a/doc/2_usage.md +++ b/doc/2_usage.md @@ -167,5 +167,5 @@ send_action "${CHAT[ID]}" "action" #### [Prev Create Bot](1_firstbot.md) #### [Next Advanced Usage](3_advanced.md) -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d diff --git a/doc/3_advanced.md b/doc/3_advanced.md index 8571a84..630115e 100644 --- a/doc/3_advanced.md +++ b/doc/3_advanced.md @@ -177,5 +177,5 @@ answer_inline_query "$iQUERY_ID" "cached_sticker" "identifier for the sticker" #### [Prev Getting started](2_usage.md) #### [Next Expert Use](4_expert.md) -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d diff --git a/doc/4_expert.md b/doc/4_expert.md index 6bf1138..c74cead 100644 --- a/doc/4_expert.md +++ b/doc/4_expert.md @@ -104,5 +104,5 @@ An example crontab is provided in ```examples/bashbot.cron```. #### [Prev Expert Use](4_expert.md) #### [Next Best Practice](5_practice.md) -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d diff --git a/doc/5_practice.md b/doc/5_practice.md index 9869155..efd75e5 100644 --- a/doc/5_practice.md +++ b/doc/5_practice.md @@ -153,5 +153,5 @@ The second warning is about an unused variable, this is true because in our exam #### [Prev Best Practice](5_practice.md) #### [Next Functions Reference](6_reference.md) -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d diff --git a/doc/6_reference.md b/doc/6_reference.md index 9613072..d460641 100644 --- a/doc/6_reference.md +++ b/doc/6_reference.md @@ -489,5 +489,5 @@ Send Input from Telegram to waiting Interactive Chat. #### [Prev Best Practice](5_practice.md) #### [Next Notes for Developers](7_develop.md) -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d diff --git a/doc/7_develop.md b/doc/7_develop.md index 8a9f0e6..7f6b51d 100644 --- a/doc/7_develop.md +++ b/doc/7_develop.md @@ -117,5 +117,5 @@ fi #### [Prev Function Reference](6_reference.md) #### [Next Bashbot Environment](8_custom.md) -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d diff --git a/doc/8_custom.md b/doc/8_custom.md index dd00488..13abb6b 100644 --- a/doc/8_custom.md +++ b/doc/8_custom.md @@ -117,5 +117,5 @@ for every poll until the maximum of BASHBOT_SLEEP ms. #### [Prev Notes for Developers](7_develop.md) -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d diff --git a/examples/README.md b/examples/README.md index 3806612..98416ba 100644 --- a/examples/README.md +++ b/examples/README.md @@ -55,6 +55,6 @@ convert existing bots. **external-use** will contain some examples on how to send messages from external scripts to Telegram chats or users. -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d diff --git a/examples/background-scripts/run_diskusage.sh b/examples/background-scripts/run_diskusage.sh index b044b49..88adf60 100755 --- a/examples/background-scripts/run_diskusage.sh +++ b/examples/background-scripts/run_diskusage.sh @@ -4,7 +4,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # adjust your language setting here # https://github.com/topkecleon/telegram-bot-bash#setting-up-your-environment diff --git a/examples/background-scripts/run_filecontent.sh b/examples/background-scripts/run_filecontent.sh index 8a617fb..c1fa5d2 100755 --- a/examples/background-scripts/run_filecontent.sh +++ b/examples/background-scripts/run_filecontent.sh @@ -2,7 +2,7 @@ # file: run_filename # background job to display content of all new files in WATCHDIR # -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # adjust your language setting here # https://github.com/topkecleon/telegram-bot-bash#setting-up-your-environment diff --git a/examples/background-scripts/run_filename.sh b/examples/background-scripts/run_filename.sh index 8b52246..27dd236 100755 --- a/examples/background-scripts/run_filename.sh +++ b/examples/background-scripts/run_filename.sh @@ -2,7 +2,7 @@ # file: run_filename # background job to display all new files in WATCHDIR # -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # adjust your language setting here # https://github.com/topkecleon/telegram-bot-bash#setting-up-your-environment diff --git a/examples/background-scripts/run_notify.sh b/examples/background-scripts/run_notify.sh index 2c630cc..2c6c056 100755 --- a/examples/background-scripts/run_notify.sh +++ b/examples/background-scripts/run_notify.sh @@ -4,7 +4,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # adjust your language setting here # https://github.com/topkecleon/telegram-bot-bash#setting-up-your-environment diff --git a/examples/bashbot-multi.sh b/examples/bashbot-multi.sh index 8c58619..26582b0 100755 --- a/examples/bashbot-multi.sh +++ b/examples/bashbot-multi.sh @@ -2,7 +2,7 @@ # file. multibot.sh # description: run multiple telegram bots from one installation # -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d if [ "${2}" = "" ] || [ "${2}" = "-h" ]; then echo "Usage: $0 botname command" diff --git a/examples/bashbot.cron b/examples/bashbot.cron index fe69de4..2e095ab 100644 --- a/examples/bashbot.cron +++ b/examples/bashbot.cron @@ -7,7 +7,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d SHELL=/bin/sh diff --git a/examples/calc.sh b/examples/calc.sh index 1d6b191..a63f054 100755 --- a/examples/calc.sh +++ b/examples/calc.sh @@ -5,7 +5,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # adjust your language setting here # https://github.com/topkecleon/telegram-bot-bash#setting-up-your-environment diff --git a/examples/notify.sh b/examples/notify.sh index 2c630cc..2c6c056 100755 --- a/examples/notify.sh +++ b/examples/notify.sh @@ -4,7 +4,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # adjust your language setting here # https://github.com/topkecleon/telegram-bot-bash#setting-up-your-environment diff --git a/examples/question.sh b/examples/question.sh index 437692b..6d9e382 100755 --- a/examples/question.sh +++ b/examples/question.sh @@ -5,7 +5,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # adjust your language setting here # https://github.com/topkecleon/telegram-bot-bash#setting-up-your-environment diff --git a/examples/send-system-status/botacl b/examples/send-system-status/botacl index 314feb6..b61c6e9 100644 --- a/examples/send-system-status/botacl +++ b/examples/send-system-status/botacl @@ -1,7 +1,7 @@ # file: botacl # a user not listed here, will return false from 'user_is_allowed' # -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # Format: # user:ressource:chat diff --git a/examples/send-system-status/mycommands.sh b/examples/send-system-status/mycommands.sh index 30b7750..1bc0e8e 100644 --- a/examples/send-system-status/mycommands.sh +++ b/examples/send-system-status/mycommands.sh @@ -5,7 +5,7 @@ # to show how you can customize bashbot by only editing mycommands.sh # NOTE: this is not tested, simply copied from original source and reworked! # -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # # shellcheck disable=SC2154 # shellcheck disable=SC2034 diff --git a/modules/aliases.sh b/modules/aliases.sh index bc4674a..f8091e7 100644 --- a/modules/aliases.sh +++ b/modules/aliases.sh @@ -5,7 +5,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # # source from commands.sh to use the aliases diff --git a/modules/background.sh b/modules/background.sh index ea3ea27..6a32e9c 100644 --- a/modules/background.sh +++ b/modules/background.sh @@ -5,7 +5,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # source from commands.sh if you want ro use interactive or background jobs diff --git a/modules/inline.sh b/modules/inline.sh index 30f3dfc..be657dc 100644 --- a/modules/inline.sh +++ b/modules/inline.sh @@ -5,6 +5,10 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # source from commands.sh to use the inline functions + +process_inline() { +echo "$UPDATE" >>INLINE.log +} diff --git a/mycommands.sh b/mycommands.sh index b0bb106..3480e0a 100644 --- a/mycommands.sh +++ b/mycommands.sh @@ -2,7 +2,7 @@ # files: mycommands.sh.dist # copy to mycommands.sh and add all your commands and functions here ... # -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # # shellcheck disable=SC2154 # shellcheck disable=SC2034 @@ -14,10 +14,17 @@ # bashbot_help='*Available commands*: #' +if [ "$1" = "source" ];then + # Set INLINE to 1 in order to receive inline queries. + # To enable this option in your bot, send the /setinline command to @BotFather. + INLINE="0" + # Set to .* to allow sending files from all locations + FILE_REGEX='/home/user/allowed/.*' -# your additional bahsbot commands -# NOTE: command can have @botname attached, you must add * in case tests... -mycommands() { +else + # your additional bahsbot commands + # NOTE: command can have @botname attached, you must add * in case tests... + mycommands() { case "$MESSAGE" in '/echo'*) # example echo command @@ -51,6 +58,7 @@ mycommands() { ;; esac -} + } -# place your processing functions here + # place your processing functions here +fi diff --git a/test/ADD-test-new.sh b/test/ADD-test-new.sh index 2d89c76..883bf0e 100755 --- a/test/ADD-test-new.sh +++ b/test/ADD-test-new.sh @@ -2,7 +2,7 @@ # # ADD a new test skeleton to test dir, but does not activate test # -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # magic to ensure that we're always inside the root of our application, # no matter from which directory we'll run script diff --git a/test/ALL-tests.inc.sh b/test/ALL-tests.inc.sh index 918e3e2..1e75d29 100644 --- a/test/ALL-tests.inc.sh +++ b/test/ALL-tests.inc.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # common variables export TESTME DIRME TESTDIR LOGFILE REFDIR TESTNAME diff --git a/test/a-commit-test.sh b/test/a-commit-test.sh index 08fdd76..3a35f0f 100755 --- a/test/a-commit-test.sh +++ b/test/a-commit-test.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d ../dev/hooks/pre-commit.sh diff --git a/test/b-example-test.sh b/test/b-example-test.sh index 0b56fa1..c048870 100644 --- a/test/b-example-test.sh +++ b/test/b-example-test.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # file: b-example-test.sh -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # include common functions and definitions # shellcheck source=test/ALL-tests.inc.sh diff --git a/test/c-init-test.sh b/test/c-init-test.sh index f067bd2..a803a40 100755 --- a/test/c-init-test.sh +++ b/test/c-init-test.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # include common functions and definitions # shellcheck source=test/ALL-tests.inc.sh diff --git a/test/d-JSON.sh-test.sh b/test/d-JSON.sh-test.sh index 208ac61..e9ec17e 100755 --- a/test/d-JSON.sh-test.sh +++ b/test/d-JSON.sh-test.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # include common functions and definitions # shellcheck source=test/ALL-tests.inc.sh diff --git a/test/d-process_message-test.sh b/test/d-process_message-test.sh index 231afe0..2e708b3 100755 --- a/test/d-process_message-test.sh +++ b/test/d-process_message-test.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # include common functions and definitions # shellcheck source=test/ALL-tests.inc.sh diff --git a/test/d-send_message-test.sh b/test/d-send_message-test.sh index 801077e..d93a09a 100755 --- a/test/d-send_message-test.sh +++ b/test/d-send_message-test.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # include common functions and definitions # shellcheck source=test/ALL-tests.inc.sh diff --git a/test/d-user_is-test.sh b/test/d-user_is-test.sh index e6ae80b..2248413 100755 --- a/test/d-user_is-test.sh +++ b/test/d-user_is-test.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # include common functions and definitions # shellcheck source=test/ALL-tests.inc.sh diff --git a/test/e-env-test.sh b/test/e-env-test.sh index 2581184..f591ef5 100755 --- a/test/e-env-test.sh +++ b/test/e-env-test.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.70-0-g8ea9e3b +#### $$VERSION$$ v0.80-dev-2-g4e4194d # include common functions and definitions # shellcheck source=test/ALL-tests.inc.sh