mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-24 00:03:02 +00:00
tests: don't hardcode sudo implementation
Remove the SUDO environment variable, as it depends on what's installed and configured on the host what implementation should be used. It would not suffice to add sudo or doas as a makedepend, as it would also need to be configured to allow abuild-keygen -ain to be executed without password.
This commit is contained in:
parent
4f723af7e5
commit
a0d6085e9b
@ -10,7 +10,6 @@ setup() {
|
|||||||
export WORKDIR="$tmpdir"/work
|
export WORKDIR="$tmpdir"/work
|
||||||
export APORTSDIR="$PWD"/testrepo
|
export APORTSDIR="$PWD"/testrepo
|
||||||
export PATH="$PWD/../:$PATH"
|
export PATH="$PWD/../:$PATH"
|
||||||
export SUDO=doas
|
|
||||||
export ARCH=$(apk --print-arch)
|
export ARCH=$(apk --print-arch)
|
||||||
|
|
||||||
abuild-keygen -ain >/dev/null 2>&1
|
abuild-keygen -ain >/dev/null 2>&1
|
||||||
|
@ -11,7 +11,6 @@ setup() {
|
|||||||
export GIT_CONFIG_GLOBAL="$tmpdir"/gitconfig
|
export GIT_CONFIG_GLOBAL="$tmpdir"/gitconfig
|
||||||
export APORTSDIR="$PWD"/testrepo
|
export APORTSDIR="$PWD"/testrepo
|
||||||
export PATH="$PWD/../:$PATH"
|
export PATH="$PWD/../:$PATH"
|
||||||
export SUDO=doas
|
|
||||||
|
|
||||||
abuild-keygen -ain >/dev/null 2>&1
|
abuild-keygen -ain >/dev/null 2>&1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user