From: Matteo Croce Date: Tue, 15 Jul 2025 15:32:00 +0000 (+0200) Subject: tests: avoid apt-get asking for user input X-Git-Tag: v258-rc1~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e354ac7da7018fc8df355c4f362ee2ff7765f2a;p=thirdparty%2Fsystemd.git 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. --- 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