tests: generate and install keys
abuild requires that a build key is present, so make sure a key is generated.
This commit is contained in:
parent
789fca23db
commit
ff913b4907
|
@ -11,6 +11,9 @@ setup() {
|
|||
export GIT_CONFIG_GLOBAL="$tmpdir"/gitconfig
|
||||
export APORTSDIR="$PWD"/testrepo
|
||||
export PATH="$PWD/../:$PATH"
|
||||
export SUDO=doas
|
||||
|
||||
abuild-keygen -ain >/dev/null 2>&1
|
||||
|
||||
mkdir -p "$tmpdir" "$WORKDIR"
|
||||
printf "[color]\n\tui = always\n" > "$GIT_CONFIG_GLOBAL"
|
||||
|
|
Loading…
Reference in New Issue