• [PATCH] Symlink src/sh/dpkg-error.sh into build directory

    From Simon Richter@21:1/5 to All on Sat Jun 8 11:30:01 2024
    This is needed to run the tests during an out-of-tree build
    ---
    configure.ac | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/configure.ac b/configure.ac
    index 36db52e71..cc2027534 100644
    --- a/configure.ac
    +++ b/configure.ac
    @@ -246,6 +246,7 @@ AC_DEFINE([PACKAGE_RELEASE], [PACKAGE_VERSION " (" ARCHITECTURE ")"],
    AC_CONFIG_TESTDIR([src/at])
    AM_MISSING_PROG([AUTOM4TE], [autom4te])

    +AC_CONFIG_LINKS([src/sh/dpkg-error.sh:src/sh/dpkg-error.sh])
    AC_CONFIG_FILES([
    Makefile
    dselect/Makefile
    --
    2.39.2

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Guillem Jover@21:1/5 to Simon Richter on Wed Jun 12 05:00:01 2024
    Hi!

    On Sat, 2024-06-08 at 11:21:36 +0200, Simon Richter wrote:
    This is needed to run the tests during an out-of-tree build

    I guess this is for the functional test suite? What runes are you
    using to run it out-of-tree?

    Thanks,
    Guillem

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Richter@21:1/5 to Guillem Jover on Wed Jun 12 05:30:01 2024
    Hi,

    On 6/12/24 11:54, Guillem Jover wrote:

    This is needed to run the tests during an out-of-tree build

    I guess this is for the functional test suite? What runes are you
    using to run it out-of-tree?

    $ make installtest DPKG_BUILDTREE=/tmp/dpkg

    I also have an evil bash script that sets up a namespace where
    dpkginst/usr is a bind mount of itself, which is great for testing
    scenarios where /usr is a separate partition (rename gives EXDEV, stat
    shows different device). I'm not sure yet how to integrate that, given
    that it's orthogonal to the other test options, my feeling is that I'm
    building a matrix here.

    Simon

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)