From 9a6a7824a009e1fb1f97afd227181191bc10f0a6 Mon Sep 17 00:00:00 2001
From: Guilhem Moulin <guilhem@fripost.org>
Date: Mon, 22 Feb 2021 02:43:48 +0100
Subject: Fix `./test --deb`.

The staging environment wasn't set properly for the Debian packages.
---
 tests/old-accountd | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'tests/old-accountd')

diff --git a/tests/old-accountd b/tests/old-accountd
index e7ccc0a..b44f7ec 100644
--- a/tests/old-accountd
+++ b/tests/old-accountd
@@ -14,7 +14,8 @@ EOF
 
 echo "deb http://deb.debian.org/debian stretch main" >>/etc/apt/sources.list
 DEBIAN_FRONTEND="noninteractive" apt update
-DEBIAN_FRONTEND="noninteractive" apt install -y --no-install-recommends --reinstall \
+DEBIAN_FRONTEND="noninteractive" apt install -y --no-install-recommends \
+    --reinstall --allow-downgrades \
     -oDPkg::Options::="--force-confdef" -oDPkg::Options::="--force-overwrite" \
     lacme-accountd/stretch
 
-- 
cgit v1.2.3