tests: avoid apt-get asking for user input

apt needs to be called with `-y` to avoid asking for user input,
and thus blocking the script execution when ran non-interactively.
This commit is contained in:
Matteo Croce
2025-07-15 17:32:00 +02:00
committed by Luca Boccassi
parent 1a324fb05c
commit 2e354ac7da

View File

@@ -24,7 +24,7 @@ case "$1" in
pacman --upgrade --needed --noconfirm /work/build/*.pkg.tar
;;
debian|ubuntu)
apt-get install /work/build/*.deb
DEBIAN_FRONTEND=noninteractive apt-get -y install /work/build/*.deb
;;
opensuse*)
zypper --non-interactive install --allow-unsigned-rpm /work/build/*.rpm