From 2e354ac7da7018fc8df355c4f362ee2ff7765f2a Mon Sep 17 00:00:00 2001 From: Matteo Croce Date: Tue, 15 Jul 2025 17:32:00 +0200 Subject: [PATCH] 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. --- test/integration-test-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration-test-setup.sh b/test/integration-test-setup.sh index e09e0dddef4..4f2d4b6a67b 100755 --- a/test/integration-test-setup.sh +++ b/test/integration-test-setup.sh @@ -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 -- 2.47.3