]> git.ipfire.org Git - thirdparty/dracut.git/commit
test: make package libdir configurable
authorBenjamin Drung <benjamin.drung@canonical.com>
Wed, 16 Aug 2023 11:50:47 +0000 (13:50 +0200)
committerLaszlo Gombos <laszlo.gombos@gmail.com>
Wed, 16 Aug 2023 15:34:12 +0000 (11:34 -0400)
commitc0321c90fabb37145db67751c948a58afc123d75
treee1efe3724cd37d52cfa3bebe300fd04f224ef4a3
parentf9939d0e1f1e17cc5d33cba55717ac063d21a048
test: make package libdir configurable

Make the package libdir configurable to allow running the test suite
out-of-tree. `PKGLIBDIR` can be pointed to the installed dracut libdir.
Use `PKGLIBDIR` for the location of `dracut-init.sh`, `dracut-install`,
`dracut-util`, `dracut-cpio`, and `modules.d`.

This change is used to run the test suite against the installed dracut
in an autopkgtest for the Debian/Ubuntu package.

Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
21 files changed:
test/TEST-01-BASIC/test.sh
test/TEST-02-SYSTEMD/test.sh
test/TEST-03-USR-MOUNT/test.sh
test/TEST-04-FULL-SYSTEMD/test.sh
test/TEST-10-RAID/test.sh
test/TEST-11-LVM/test.sh
test/TEST-12-RAID-DEG/test.sh
test/TEST-13-ENC-RAID-LVM/test.sh
test/TEST-14-IMSM/test.sh
test/TEST-15-BTRFSRAID/test.sh
test/TEST-16-DMSQUASH/test.sh
test/TEST-17-LVM-THIN/test.sh
test/TEST-20-NFS/test.sh
test/TEST-30-ISCSI/test.sh
test/TEST-35-ISCSI-MULTI/test.sh
test/TEST-40-NBD/test.sh
test/TEST-50-MULTINIC/test.sh
test/TEST-60-BONDBRIDGEVLAN/test.sh
test/TEST-63-DRACUT-CPIO/test.sh
test/TEST-98-GETARG/test.sh
test/test-functions