Use busybox short option to su.

This commit is contained in:
Dan Helfman 2019-12-11 16:46:24 -08:00
parent 464ff2fe96
commit d2df224da8

View file

@ -16,4 +16,4 @@ tox
apk add --no-cache borgbackup postgresql-client mariadb-client
working_directory="$PWD"
adduser --disabled-password tests
su - tests --command "cd $working_directory && tox --workdir /tmp -e end-to-end"
su - tests -c "cd $working_directory && tox --workdir /tmp -e end-to-end"