mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Gotta source the helper when being in the appropriate folder, because of the new 'realpath' for YNH_APP_BASEDIR
This commit is contained in:
parent
55a3313bb9
commit
27300282da
2 changed files with 4 additions and 5 deletions
|
@ -1,5 +1,4 @@
|
|||
_make_dummy_src() {
|
||||
echo "test coucou"
|
||||
if [ ! -e $HTTPSERVER_DIR/dummy.tar.gz ]
|
||||
then
|
||||
pushd "$HTTPSERVER_DIR"
|
||||
|
|
|
@ -43,7 +43,6 @@ VAR_WWW=$(mktemp -d)/var/www
|
|||
mkdir -p $VAR_WWW
|
||||
# =========================================================
|
||||
|
||||
source /usr/share/yunohost/helpers
|
||||
for TEST_SUITE in $(ls test_helpers.d/*)
|
||||
do
|
||||
source $TEST_SUITE
|
||||
|
@ -58,11 +57,12 @@ for TEST in $TESTS
|
|||
do
|
||||
log_test $TEST
|
||||
cd $(mktemp -d)
|
||||
(app=ynhtest
|
||||
YNH_APP_ID=$app
|
||||
mkdir conf
|
||||
(mkdir conf
|
||||
mkdir scripts
|
||||
cd scripts
|
||||
source /usr/share/yunohost/helpers
|
||||
app=ynhtest
|
||||
YNH_APP_ID=$app
|
||||
set -eux
|
||||
$TEST
|
||||
) > ./test.log 2>&1
|
||||
|
|
Loading…
Add table
Reference in a new issue