mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2025-01-29 00:28:25 +00:00
enable cleaup after failed test again ...
This commit is contained in:
parent
e9cf8d25e5
commit
a79f97fdd6
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# this has to run once atfer git clone
|
# this has to run once atfer git clone
|
||||||
# and every time we create new hooks
|
# and every time we create new hooks
|
||||||
#### $$VERSION$$ v0.80-dev2-7-g92f022d
|
#### $$VERSION$$ v0.80-dev2-8-ge9cf8d2
|
||||||
|
|
||||||
# magic to ensure that we're always inside the root of our application,
|
# magic to ensure that we're always inside the root of our application,
|
||||||
# no matter from which directory we'll run script
|
# no matter from which directory we'll run script
|
||||||
@ -49,8 +49,8 @@ if [ "$fail" -eq 0 ]; then
|
|||||||
else
|
else
|
||||||
/bin/echo -n 'FAILURE '
|
/bin/echo -n 'FAILURE '
|
||||||
exitcode=1
|
exitcode=1
|
||||||
#rm -rf "${TESTENV}/test"
|
rm -rf "${TESTENV}/test"
|
||||||
#find "${TESTENV}/"* ! -name '[a-z]-*' -delete
|
find "${TESTENV}/"* ! -name '[a-z]-*' -delete
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "${passed} / ${tests}\\n"
|
echo -e "${passed} / ${tests}\\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user