From 67c47ac785b9c5d10d28d1d6dd46463d603a35d6 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Fri, 10 May 2019 18:50:30 +0200 Subject: [PATCH] Bashbot Version 0.72 --- README.html | 2 +- README.md | 2 +- README.txt | 2 +- bashbot.rc | 2 +- bashbot.sh | 4 +-- commands.sh | 2 +- dev/all-tests.sh | 2 +- dev/git-add.sh | 2 +- dev/hooks/pre-commit.sh | 2 +- dev/hooks/pre-push.sh | 2 +- dev/install-hooks.sh | 2 +- dev/make-dist.sh | 2 +- dev/shellcheck.files | 2 +- dev/version.sh | 2 +- doc/0_install.md | 2 +- doc/1_firstbot.md | 2 +- doc/2_usage.md | 2 +- doc/3_advanced.md | 2 +- doc/4_expert.md | 2 +- doc/5_practice.md | 2 +- doc/6_reference.md | 2 +- doc/7_develop.md | 2 +- doc/8_custom.md | 2 +- examples/README.md | 2 +- examples/background-scripts/run_diskusage.sh | 2 +- .../background-scripts/run_filecontent.sh | 2 +- examples/background-scripts/run_filename.sh | 2 +- examples/background-scripts/run_notify.sh | 2 +- examples/bashbot-multi.sh | 2 +- examples/bashbot.cron | 2 +- examples/calc.sh | 2 +- examples/notify.sh | 2 +- examples/question.sh | 2 +- examples/send-system-status/botacl | 2 +- examples/send-system-status/mycommands.sh | 2 +- modules/aliases.sh | 2 +- modules/background.sh | 2 +- modules/inline.sh | 4 +-- mycommands.sh | 31 +++++++++++++------ test/ADD-test-new.sh | 2 +- test/ALL-tests.inc.sh | 2 +- test/a-commit-test.sh | 2 +- test/b-example-test.sh | 2 +- test/c-init-test.sh | 2 +- test/d-JSON.sh-test.sh | 2 +- test/d-process_inline-test.sh | 2 +- test/d-process_message-test.sh | 2 +- test/d-send_message-test.sh | 2 +- test/d-user_is-test.sh | 2 +- test/e-env-test.sh | 2 +- 50 files changed, 72 insertions(+), 61 deletions(-) diff --git a/README.html b/README.html index 28d7eb5..cf80f30 100644 --- a/README.html +++ b/README.html @@ -103,6 +103,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.72-dev-5-g73b7734

+


VERSION
v0.72-0-ge899420

diff --git a/README.md b/README.md index a70bd05..e548b85 100644 --- a/README.md +++ b/README.md @@ -98,4 +98,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.72-dev-5-g73b7734 +#### $$VERSION$$ v0.72-0-ge899420 diff --git a/README.txt b/README.txt index aa6e717..8cb1050 100644 --- a/README.txt +++ b/README.txt @@ -137,4 +137,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.72-dev-5-g73b7734 +#### $$VERSION$$ v0.72-0-ge899420 diff --git a/bashbot.rc b/bashbot.rc index fb73bb1..eb2c223 100755 --- a/bashbot.rc +++ b/bashbot.rc @@ -1,7 +1,7 @@ #!/bin/sh # description: Start or stop telegram-bash-bot # -#### $$VERSION$$ v0.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # shellcheck disable=SC2009 # shellcheck disable=SC2181 diff --git a/bashbot.sh b/bashbot.sh index 930a35d..48a35c2 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.72-dev-4-gbf00d33 +#### $$VERSION$$ v0.72-0-ge899420 # # Exit Codes: # - 0 sucess (hopefully) @@ -498,7 +498,7 @@ start_bot() { local addsleep="100" local maxsleep="$(( ${BASHBOT_SLEEP:-5000} + 100 ))" [[ "${DEBUG}" = *"debug" ]] && exec &>>"DEBUG.log" - [ "${DEBUG}" != "" ] && date && echo "Start BASHBOT in Mode ${DEBUG}" + [ "${DEBUG}" != "" ] && date && echo "Start BASHBOT in Mode \"${DEBUG}\"" [[ "${DEBUG}" = "xdebug"* ]] && set -x while true; do { diff --git a/commands.sh b/commands.sh index bc6d76f..a0b63a9 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.72-dev-3-g65b32aa +#### $$VERSION$$ v0.72-0-ge899420 # # shellcheck disable=SC2154 # shellcheck disable=SC2034 diff --git a/dev/all-tests.sh b/dev/all-tests.sh index c128f8b..d4c6406 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 6774ea6..341cde5 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 e534919..7826d09 100755 --- a/dev/hooks/pre-commit.sh +++ b/dev/hooks/pre-commit.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 ############ # 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 fb21143..70e3b8a 100755 --- a/dev/hooks/pre-push.sh +++ b/dev/hooks/pre-push.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 ############ # 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 de89a65..15ba935 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 8efb648..a17f204 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 70914ab..d5c7c0d 100644 --- a/dev/shellcheck.files +++ b/dev/shellcheck.files @@ -1,3 +1,3 @@ # list of additional files to check from shellcheck -#### $$VERSION$$ v0.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 bashbot.rc diff --git a/dev/version.sh b/dev/version.sh index 4007ef4..5d84526 100755 --- a/dev/version.sh +++ b/dev/version.sh @@ -1,6 +1,6 @@ #!/bin/bash # -#### $$VERSION$$ v0.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # shellcheck disable=SC2016 # # Easy Versioning in git: diff --git a/doc/0_install.md b/doc/0_install.md index b83352e..579fad0 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 diff --git a/doc/1_firstbot.md b/doc/1_firstbot.md index 78bffb5..8c8ae1f 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 diff --git a/doc/2_usage.md b/doc/2_usage.md index 02d2fb3..78010b7 100644 --- a/doc/2_usage.md +++ b/doc/2_usage.md @@ -182,5 +182,5 @@ send_action "${CHAT[ID]}" "action" #### [Prev Create Bot](1_firstbot.md) #### [Next Advanced Usage](3_advanced.md) -#### $$VERSION$$ v0.72-dev-4-gbf00d33 +#### $$VERSION$$ v0.72-0-ge899420 diff --git a/doc/3_advanced.md b/doc/3_advanced.md index 8386b9f..c98e19d 100644 --- a/doc/3_advanced.md +++ b/doc/3_advanced.md @@ -178,5 +178,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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 diff --git a/doc/4_expert.md b/doc/4_expert.md index 8d435c8..352d0cd 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 diff --git a/doc/5_practice.md b/doc/5_practice.md index a8defac..9e83531 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 diff --git a/doc/6_reference.md b/doc/6_reference.md index 376364f..a886be9 100644 --- a/doc/6_reference.md +++ b/doc/6_reference.md @@ -592,5 +592,5 @@ Send Input from Telegram to waiting Interactive Chat. #### [Prev Best Practice](5_practice.md) #### [Next Notes for Developers](7_develop.md) -#### $$VERSION$$ v0.72-dev-5-g73b7734 +#### $$VERSION$$ v0.72-0-ge899420 diff --git a/doc/7_develop.md b/doc/7_develop.md index 8329888..660c654 100644 --- a/doc/7_develop.md +++ b/doc/7_develop.md @@ -131,5 +131,5 @@ fi #### [Prev Function Reference](6_reference.md) #### [Next Bashbot Environment](8_custom.md) -#### $$VERSION$$ v0.72-dev-5-g73b7734 +#### $$VERSION$$ v0.72-0-ge899420 diff --git a/doc/8_custom.md b/doc/8_custom.md index 372c078..14fe553 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 diff --git a/examples/README.md b/examples/README.md index 15b994b..6bd5391 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 diff --git a/examples/background-scripts/run_diskusage.sh b/examples/background-scripts/run_diskusage.sh index adfe58b..b441d1a 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 1c5f555..74d77ab 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 cb10828..7d791dd 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 66a6dfd..592f0ee 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 8a10153..6573ff1 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 if [ "${2}" = "" ] || [ "${2}" = "-h" ]; then echo "Usage: $0 botname command" diff --git a/examples/bashbot.cron b/examples/bashbot.cron index 87cb36b..cd756e9 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 SHELL=/bin/sh diff --git a/examples/calc.sh b/examples/calc.sh index d89c382..ecc6292 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 66a6dfd..592f0ee 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 b883955..84c82a1 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 681a05b..c07b52f 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # Format: # user:ressource:chat diff --git a/examples/send-system-status/mycommands.sh b/examples/send-system-status/mycommands.sh index c3073f7..7c0a84e 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # # shellcheck disable=SC2154 # shellcheck disable=SC2034 diff --git a/modules/aliases.sh b/modules/aliases.sh index 0c92471..926d244 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.72-dev-3-g65b32aa +#### $$VERSION$$ v0.72-0-ge899420 # # source from commands.sh to use the aliases diff --git a/modules/background.sh b/modules/background.sh index 3525a1b..12866dc 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.72-dev-3-g65b32aa +#### $$VERSION$$ v0.72-0-ge899420 # source from commands.sh if you want ro use interactive or background jobs diff --git a/modules/inline.sh b/modules/inline.sh index 7bc10bb..89f57fa 100644 --- a/modules/inline.sh +++ b/modules/inline.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.72-dev-3-g65b32aa +#### $$VERSION$$ v0.72-0-ge899420 # source from commands.sh to use the inline functions @@ -42,7 +42,7 @@ inline_query_compose(){ case "${2}" in # user provided media "article"|"message") # article ID title message (markup decription) - JSON='{"type":"article","id":"'$ID'","message_text":"'$4'"'$(title2Json "$3" "" "$5" "$6")'}' + JSON='{"type":"article","id":"'$ID'","input_message_content": {"message_text":"'$4'"} '$(title2Json "$3" "" "$5" "$6")'}' ;; "photo") # photo ID photoURL (thumbURL title description caption) [ "$4" = "" ] && tumb="$3" diff --git a/mycommands.sh b/mycommands.sh index c644633..7fd510c 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.72-dev-7-ga734b5f +#### $$VERSION$$ v0.72-0-ge899420 # # shellcheck disable=SC2154 # shellcheck disable=SC2034 @@ -62,21 +62,35 @@ else myinlines() { ####################### - # Inline query examples + # Inline query examples, do not use them in production (exept image search ;-) # shellcheck disable=SC2128 case "${iQUERY}" in - "image "*) # search in yahoo images + "image "*) # search images with yahoo local search="${iQUERY#* }" answer_inline_multi "${iQUERY[ID]}" "$(my_image_search "${search}")" ;; - "photo") # manually provide URLs + + "0"*) # a single message with title + answer_inline_query "${iQUERY[ID]}" "message" "Title of the result" "Content of the message to be sent" + ;; + "1"*) # a single photo + answer_inline_query "${iQUERY[ID]}" "photo" "https://avatars.githubusercontent.com/u/13046303" "https://avatars.githubusercontent.com/u/13046303" + ;; + "2"*) # two photos answer_inline_multi "${iQUERY[ID]}" " $(inline_query_compose "$RANDOM" "photo" "https://avatars.githubusercontent.com/u/13046303"), $(inline_query_compose "$RANDOM" "photo" "https://avatars.githubusercontent.com/u/4593242") " ;; + "3"*) # three photos + answer_inline_multi "${iQUERY[ID]}" " + $(inline_query_compose "$RANDOM" "photo" "https://avatars.githubusercontent.com/u/13046303"), + $(inline_query_compose "$RANDOM" "photo" "https://avatars.githubusercontent.com/u/4593242") + $(inline_query_compose "$RANDOM" "photo" "https://avatars.githubusercontent.com/u/102707") + " + ;; - "avatar") # read URLS from array + "4") # four photo from array local sep="" local avatar=("https://avatars.githubusercontent.com/u/13046303" "https://avatars.githubusercontent.com/u/4593242" "https://avatars.githubusercontent.com/u/102707" "https://avatars.githubusercontent.com/u/6460407") answer_inline_multi "${iQUERY[ID]}" " @@ -86,15 +100,12 @@ else " ;; - "sticker") + "sticker") # example chaecd telegram sticker answer_inline_query "${iQUERY[ID]}" "cached_sticker" "BQADBAAD_QEAAiSFLwABWSYyiuj-g4AC" ;; - "gif") + "gif") # exmaple chaehed gif answer_inline_query "${iQUERY[ID]}" "cached_gif" "BQADBAADIwYAAmwsDAABlIia56QGP0YC" ;; - "web") - answer_inline_query "${iQUERY[ID]}" "article" "GitHub" "http://github.com/topkecleon/telegram-bot-bash" - ;; esac exit } diff --git a/test/ADD-test-new.sh b/test/ADD-test-new.sh index 771d5dc..0936009 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 c1e025c..20fae6a 100644 --- a/test/ALL-tests.inc.sh +++ b/test/ALL-tests.inc.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # common variables export TESTME DIRME TESTDIR LOGFILE REFDIR TESTNAME diff --git a/test/a-commit-test.sh b/test/a-commit-test.sh index 8e9747d..2bde9a6 100755 --- a/test/a-commit-test.sh +++ b/test/a-commit-test.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 ../dev/hooks/pre-commit.sh diff --git a/test/b-example-test.sh b/test/b-example-test.sh index 41a5e1c..6c13be1 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 4ce93c3..689e638 100755 --- a/test/c-init-test.sh +++ b/test/c-init-test.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 13c15dc..3f00005 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # include common functions and definitions # shellcheck source=test/ALL-tests.inc.sh diff --git a/test/d-process_inline-test.sh b/test/d-process_inline-test.sh index a285b3e..1abacc2 100755 --- a/test/d-process_inline-test.sh +++ b/test/d-process_inline-test.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 232945a..e272a80 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 58e1387..1e21569 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 42b30fc..74a90e9 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.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # 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 226a3ed..7032e71 100755 --- a/test/e-env-test.sh +++ b/test/e-env-test.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#### $$VERSION$$ v0.72-dev-0-g6afa177 +#### $$VERSION$$ v0.72-0-ge899420 # include common functions and definitions # shellcheck source=test/ALL-tests.inc.sh