🍽 Fork YunoHost — snapshot mangé par la machine à tsoins
Some checks failed
Check for new n releases / updater (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled

Upstream: https://github.com/YunoHost/yunohost @ 3a5f8bac8301c450897b96cbd43a4c7d3ba750fb
But (José) : transformer tout le code en bions + ploxions du xerboxion.
La carte de digestion vit au labo : /yunohost-digest.json
This commit is contained in:
machine-a-tsoins
2026-07-03 17:20:06 +00:00
commit edb4c397df
395 changed files with 105504 additions and 0 deletions

26
tests/test_helpers_wrapper.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/env bash
VERSION=$1
TESTFILE=$2
TESTFUNC=$3
export YNH_STDINFO=1
export YNH_ARCH=$(dpkg --print-architecture)
export YNH_J2_FILTERS_FILE_PATH="$(python3 <<< 'from yunohost.utils import jinja_filters; print(jinja_filters.__file__)')"
export YNH_HELPERS_VERSION="$VERSION"
pushd "$(mktemp -d)" >/dev/null
mkdir conf
mkdir scripts
cd scripts
# shellcheck disable=SC1091
source /usr/share/yunohost/helpers
app=ynhtest
# shellcheck disable=SC2034
YNH_APP_ID=$app
set -eux
# shellcheck disable=SC1090
source "$TESTFILE"
"$TESTFUNC"