mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-12-27 20:44:53 +00:00
fix test with existing config
This commit is contained in:
parent
d6e1c222f7
commit
04ec4baab2
@ -5,7 +5,7 @@
|
||||
#
|
||||
# tested on: ubuntu, opensuse, debian
|
||||
#
|
||||
#### $$VERSION$$ v1.2-5-g658fac6
|
||||
#### $$VERSION$$ v1.2-7-gd6e1c22
|
||||
# shellcheck disable=SC2009
|
||||
# shellcheck disable=SC2181
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# this has to run once atfer git clone
|
||||
# and every time we create new hooks
|
||||
#### $$VERSION$$ v1.2-0-gc50499c
|
||||
#### $$VERSION$$ v1.2-7-gd6e1c22
|
||||
|
||||
# magic to ensure that we're always inside the root of our application,
|
||||
# no matter from which directory we'll run script
|
||||
@ -18,6 +18,9 @@ mkdir "${TESTENV}"
|
||||
cp -r ./* "${TESTENV}"
|
||||
cd "test" || exit 1
|
||||
|
||||
# delete possible config
|
||||
rm "${TESTENV}/botconfig.jssh" "${TESTENV}/botacl"
|
||||
|
||||
#set -e
|
||||
fail=0
|
||||
tests=0
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
#### $$VERSION$$ v1.2-0-gc50499c
|
||||
#### $$VERSION$$ v1.2-7-gd6e1c22
|
||||
|
||||
# include common functions and definitions
|
||||
# shellcheck source=test/ALL-tests.inc.sh
|
||||
@ -14,6 +14,7 @@ set -e
|
||||
$TESTTOKEN
|
||||
nobody
|
||||
botadmin
|
||||
|
||||
EOF
|
||||
echo "${SUCCESS}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user