lifecycle: fix permissions for unittest xml

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-06-09 16:03:51 +02:00
parent a7adeb917e
commit b73de96aa6

View file

@ -36,6 +36,8 @@ elif [[ "$1" == "bash" ]]; then
/bin/bash
elif [[ "$1" == "test" ]]; then
pip install --no-cache -r requirements-dev.txt
touch /unittest.xml
chown authentik:authentik /unittest.xml
check_if_root "python -m manage test authentik"
else
python -m manage "$@"