This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=eb54c69b659b80cb0d429b7f5b60654b33c37d4c

The following commit(s) were added to refs/heads/main by this push:
     new eb54c69b6 debian: Set paths for configure in autopkgtests to match 
installed ones
eb54c69b6 is described below

commit eb54c69b659b80cb0d429b7f5b60654b33c37d4c (HEAD -> main)
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Dec 3 11:36:06 2022 +0100

    debian: Set paths for configure in autopkgtests to match installed ones
    
    Some of the tests compare the pathnames with expected ones, but because
    we were not setting them to match the tests were failing.
---
 debian/tests/test-not-root | 10 +++++++++-
 debian/tests/test-root     | 10 +++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/debian/tests/test-not-root b/debian/tests/test-not-root
index e1ca6db3f..cf6db127b 100644
--- a/debian/tests/test-not-root
+++ b/debian/tests/test-not-root
@@ -10,5 +10,13 @@ fi
 srcdir="$(pwd)"
 
 cd $AUTOPKGTEST_TMP
-"$srcdir/configure" --disable-nls --disable-dselect
+"$srcdir/configure" \
+  --disable-nls \
+  --disable-dselect \
+  --prefix=/usr \
+  --sbindir=/sbin \
+  --libexecdir='${exec_prefix}/lib' \
+  --sysconfdir=/etc \
+  --localstatedir=/var \
+  # EOL
 make installcheck TESTSUITEFLAGS=--verbose
diff --git a/debian/tests/test-root b/debian/tests/test-root
index d4c658f03..b5647061d 100644
--- a/debian/tests/test-root
+++ b/debian/tests/test-root
@@ -10,5 +10,13 @@ fi
 srcdir="$(pwd)"
 
 cd $AUTOPKGTEST_TMP
-"$srcdir/configure" --disable-nls --disable-dselect
+"$srcdir/configure" \
+  --disable-nls \
+  --disable-dselect \
+  --prefix=/usr \
+  --sbindir=/sbin \
+  --libexecdir='${exec_prefix}/lib' \
+  --sysconfdir=/etc \
+  --localstatedir=/var \
+  # EOL
 make installcheck TESTSUITEFLAGS=--verbose

-- 
Dpkg.Org's dpkg

Reply via email to